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
I can tell if a form is valid by checking $valid, but is there a way to tell if a section is valid or not? E.g. if I have 3 sections I want to display that section 2 is invalid but the others are valid.
The text was updated successfully, but these errors were encountered:
This is a function for the form and ng-form directive in angular, so a section doesn't have that.
What you could do is since angular handles nesting of forms you can have an over arching form element and nest a couple of ng-form directives inside, each with an sf-schema that has a form definition that just selects the part of the form you like.
I can tell if a form is valid by checking $valid, but is there a way to tell if a section is valid or not? E.g. if I have 3 sections I want to display that section 2 is invalid but the others are valid.
The text was updated successfully, but these errors were encountered: