1. #1
    Sencha User abshnasko's Avatar
    Join Date
    Sep 2011
    Posts
    44
    Answers
    1
    Vote Rating
    0
    abshnasko is on a distinguished road

      0  

    Default Unanswered: How can I disable the TextField validation icon?

    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,734
    Answers
    109
    Vote Rating
    90
    Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light

      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.

Thread Participants: 1

Tags for this Thread