BasicForm.reset() don't mark form field as valid, why?
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?
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:
Sencha Premium User
Do the fields have "allowBlank:false" ?
Tags for this Thread