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
    541
    Vote Rating
    50
    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.

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar