I have the following code for a select drop down input that is styled in Bootstrap.
This approach could/should solve your issue:
1) declare the options inside of your scope:
$scope.processes = [
{ code: "C", name: "Process C" },
{ code: "Q", name: "Process Q" }
];
And 2) use this declaration:
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)