How can I disable the TextField validation icon?
I have a Validator attached to a field. When validation fails, I want the red line to appear in the field, but I do not want the red icon to appear to the right of the field. How can I accomplish this? I don't see this functionality in the documentation. Thanks!
Check out Field.setMessageTarget(String) - you'll want to pass in "tooltip" (or, to just not draw that icon, anything but "side"). With that set, it shouldn't even attempt to draw the icon.
Tags for this Thread