Well, I have a hidden field in my form and trying to validate the ui-select element. On submit it shows the error label, but when the hidden fields gets it value from the ng-model, the error is still shown and also i am not able to submit the form.
If the hidden field is getting its value from ng-model, why the error label is not going away. Why is this happening and how can i achieve this. Please help me
Well, I have a hidden field in my form and trying to validate the ui-select element. On submit it shows the error label, but when the hidden fields gets it value from the ng-model, the error is still shown and also i am not able to submit the form.
Here's the html
Here's the options
If the hidden field is getting its value from ng-model, why the error label is not going away. Why is this happening and how can i achieve this. Please help me