1. #1
    Sencha User
    Join Date
    Aug 2012
    Posts
    12
    Vote Rating
    0
    Payoffice is on a distinguished road

      0  

    Default BasicForm.reset() don't mark form field as valid, why?

    BasicForm.reset() don't mark form field as valid, why?


    Hi,

    I create a from with several fields, this form contains a button that allows users to clear all fields. To do this I use reset function. I notice that when I call reset, fields that was mark as invalid remain invalid? Why and how can I reset form fields in order to achieve my goal?

    Regards,

    P.

  2. #2
    Sencha User
    Join Date
    Aug 2012
    Posts
    12
    Vote Rating
    0
    Payoffice is on a distinguished road

      0  

    Default


    No idea?

    P.

  3. #3
    Sencha User
    Join Date
    Jan 2011
    Posts
    544
    Vote Rating
    52
    willigogs is a jewel in the rough willigogs is a jewel in the rough willigogs is a jewel in the rough

      0  

    Default


    Could you post your code as an example?

    IIRC, resetting a form should also reset the validation (unless a submit has been successful, then invalidates the second time, etc).

    Alternatively you could try basicForm's clearInvalid() method:
    http://docs.sencha.com/ext-js/3-4/#!...d-clearInvalid

  4. #4

  5. #5
    Sencha User
    Join Date
    Aug 2012
    Posts
    12
    Vote Rating
    0
    Payoffice is on a distinguished road

      0  

    Default


    Yes he did.

    P.

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