You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
I have been using anglarjs quite a lot recently, and I have been working on a validation provider.
I need to get my validation logic to override angularjs's default validation.
For example, if a subform is pristine, then the form is invalid. I needed it the other way.
And another situation where the form is not pristine, but all fields are empty -> the parent form is valid...
After endless hours of development, my custom provider finally handles all this very well, and I finally get typahead + custom datepicker works well, with all my validations.
I am now in the situation where i need to add dynamically some ng-form, and access them by name or by object.
Please don't re-open issues, it is a duplicate and you've been provided with links to the original relevant issues where these discussions are happening, and also a workaround you can use in your app in the short term.
Hello,
I have been using anglarjs quite a lot recently, and I have been working on a validation provider.
I need to get my validation logic to override angularjs's default validation.
For example, if a subform is pristine, then the form is invalid. I needed it the other way.
And another situation where the form is not pristine, but all fields are empty -> the parent form is valid...
After endless hours of development, my custom provider finally handles all this very well, and I finally get typahead + custom datepicker works well, with all my validations.
I am now in the situation where i need to add dynamically some ng-form, and access them by name or by object.
For example :
Where myForm represent the form with all the $pristine/$valid... properties that I can manipulate trough myValidator provider.
Now, If I get a dynamic name :
There is no ways I can access this ng-form from my controller.
The text was updated successfully, but these errors were encountered: