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,

|                              X |

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


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
To view this discussion on the web visit

No comments:

Post a Comment