if an error occurs through mask form.model.$error would show as a json object of {mask:"true"}. if we have two mask in one form and if we use ng-messages there is no option to separate this two mask.
Actual result with example
Lets say we are having mask for vehicle number plate and contact number for both mask the form.model.$error would be {mask:"true"}
expected output should be
for vehicle number plate = {vehicleNo:"true"}
for contact number = {contactNo:"true"}
vehicleNo and contactNo should be a custom variable where user can assign
if an error occurs through mask form.model.$error would show as a json object of {mask:"true"}. if we have two mask in one form and if we use ng-messages there is no option to separate this two mask.
Actual result with example Lets say we are having mask for vehicle number plate and contact number for both mask the form.model.$error would be {mask:"true"}
expected output should be for vehicle number plate = {vehicleNo:"true"} for contact number = {contactNo:"true"}
vehicleNo and contactNo should be a custom variable where user can assign