Results 1 to 2 of 2

Thread: How can I disable the TextField validation icon?

  1. #1
    Sencha User abshnasko's Avatar
    Join Date
    Sep 2011
    Posts
    44
    Answers
    1
    Vote Rating
    0
      0  

    Default Unanswered: 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!

  2. #2
    Sencha - GXT Dev Team
    Join Date
    Feb 2009
    Location
    Minnesota
    Posts
    2,737
    Answers
    109
    Vote Rating
    93
      0  

    Default

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •