Hybrid View

  1. #1
    Ext User
    Join Date
    Jan 2009
    Posts
    1
    Vote Rating
    0
    igiton is on a distinguished road

      0  

    Default ComboBox error icon problem

    ComboBox error icon problem


    Could someone find why the error icon was missing in comboBox. The combobox field has setAllowBlank set to false. I put field.addStyleName("x-form-invalid"); and field is red colored after that, but icon is missing. Please see pic attached. How could I put errorIcon manually?
    Attached Images

  2. #2
    Ext JS Premium Member
    Join Date
    May 2009
    Posts
    50
    Vote Rating
    0
    Ian Grainger is on a distinguished road

      0  

    Thumbs up


    Check the API docs for your release (http://www.extjs.com/deploy/dev/docs....ComboBox.html) But I think you need to call 'markInvalid(message)' - that'll show the icon.

    Hope that helps!

  3. #3
    Ext JS Premium Member
    Join Date
    May 2009
    Posts
    50
    Vote Rating
    0
    Ian Grainger is on a distinguished road

      0  

    Default


    I have a slightly different problem, which is that we're trying to create our own icon and tooltip, very similar to the 'invalid' one - but I can't work out where to place our new icon in the DOM so it'll lay out consistently for different types of fields (comboboxes, checkboxes etc) - they all seem to use different names for the same parts of the control (x-form-field-wrap / x-form-field-wrap-inner, sometimes no wrapper). could anyone help with suggestions of how to put our own icon on instead of the built in 'invalid' icon?

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi