AngularJS Validation on <select> with a prompt option

前端 未结 9 2096
挽巷
挽巷 2021-02-05 11:17

I have the following code for a select drop down input that is styled in Bootstrap.


    

The trick here is in fact, that during the angular cycles, will firstly fix the issue that the the current value is not among the processes options. So, the default would be set to:

and required will be working as expected (more details)

提交回复
热议问题