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
In angular 5 I'm using a custom validator that sets the select box formControl to invalid on form-load. If I select something in the select box, it properly sets the Select's class to ng-valid, but not it's parent div. This propagation is important since the select is set to hidden, I need the parent div to be accurate in order to style invalid fields. It also seems that ng-dirty is not being propagated up either.
The text was updated successfully, but these errors were encountered:
will7742
changed the title
form select - validations not being propagated correctly all the time to the parent div
form select - angular validation classes not being propagated correctly to the parent div
Mar 14, 2018
will7742
changed the title
form select - angular validation classes not being propagated correctly to the parent div
form select - angular validation classes not being propagated to the parent div
Mar 14, 2018
In angular 5 I'm using a custom validator that sets the select box formControl to invalid on form-load. If I select something in the select box, it properly sets the Select's class to ng-valid, but not it's parent div. This propagation is important since the select is set to hidden, I need the parent div to be accurate in order to style invalid fields. It also seems that ng-dirty is not being propagated up either.
Example Dom after I select an element:
The text was updated successfully, but these errors were encountered: