Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

select ng-options set default value

<h3>AngularJs ng-options to Set Default Value</h3>
<select name="users" ng-options="user.name for user in arrlist" ng-model="userselected">
<option value="">--Select User--</option>
</select><br /><br />
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #select #set #default
ADD COMMENT
Topic
Name
6+5 =