Wednesday, June 23, 2021

Re: GWT 2.9.0 TextField clear option in Chrome and IE

Actually my requirements are to add the clear button to the end on the textbox, I also tried adding textBox.getElement.setAttribute("type","search") but for some reason it is not working. Any help will be appreciated. 

On Tuesday, June 22, 2021 at 7:32:31 PM UTC+5:30 Jim Douglas wrote:
In our project CSS, we set display:none for the ::ms-clear pseudo element.

On Tuesday, June 22, 2021 at 1:03:58 AM UTC-7 Hari wrote:
Hi All, 
Recently we have upgraded GWT from 2.1.0 to 2.9.0 with GXT 2.3.1a (Officially unsupported), Most major issues have been fixed, how ever we are having an issue with TextField<String> which is generating an HTML input element with type=text, this field in IE is showing with an cross icon to clear the text, but the same is not happening in chrome,

IE
___________________ 
|                              X |
-------------------------------

how to add clear icon with in the text input field in Chrome? Please let me know for more details required.  

Thanks

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/d2fa56e8-fedc-4194-af13-2613d86abb48n%40googlegroups.com.

No comments:

Post a Comment