jonsamwell / angular-auto-validate

An automatic validation module for AngularJS which gets rid of excess html in favour of dynamic element modification to notify the user of validation errors
MIT License
346 stars 76 forks source link

Validation is failing intermittently #128

Closed go4varuntyagi closed 8 years ago

go4varuntyagi commented 8 years ago

On my page validation is failing intermittently. I have found that "frmCtrl.autoValidateFormOptions.disabled" is getting true sometimes due to which validation process is not getting triggered.

Found this condition in source file.

                    if (frmElement === undefined || (frmCtrl !== undefined && frmCtrl.autoValidateFormOptions.disabled)) {
                        return frmElement !== undefined;
                    }

Could someone help

jonsamwell commented 8 years ago

Could you do a reproducing plunker so I have something to debug?

jonsamwell commented 8 years ago

Not really sure how to progress this as I have not seen this behaviour or can reproduce it. Waiting for a plunker that reproduces it....

jonsamwell commented 8 years ago

Closing as no reproducing plunker provided so no way to debug. Feel free to re-open when one is provided