View Full Version : dont show icon error on text field

11 Aug 2009, 11:44 AM
when my field its invalid I would like dont show the icon (!).. and display the error message when mouse over the field.. its possible in gxt? in extjs I can do this..

13 Aug 2009, 2:51 AM
you look for this?
http://extjs.com/deploy/gxtdocs/com/extjs/gxt/ui/client/widget/form/Field.html#setMessageTarget(java.lang.String) (http://extjs.com/forum/../deploy/gxtdocs/com/extjs/gxt/ui/client/widget/form/Field.html#setMessageTarget%28java.lang.String%29)

btw: should the target string be more a enum instead of a string?

13 Aug 2009, 2:52 AM
The target can also be an ID of an element. That is why an enum would not work here.