0
votes

I have a simple form with a few inputs to capture contact details. the form can be repeated using the add button provided. the user must select a primary contact if multiple contacts being added. I have a custom validator for this. My problem arises when a couple of rows being added and unselect all primary contact checkboxes then select one. - at this point, I want all errors that are previously shown to be disappeared. for some reason, two way data binding doesn’t seem to work or I must be doing something wrong. assuming I have more validations on other fields, how can I get ride of validation errors related to primary contact checkboxes?

Please find the sandbox here.

Any help would be highly appreciated!