Created
March 10, 2017 14:56
-
-
Save codephillip/b967308bd23786217ce3c076c825d6d9 to your computer and use it in GitHub Desktop.
Angularjs1 select tag
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form name="form" ng-submit="couctrl.verifyCode()" role="form" > | |
<!--<select class="login-select" ng-model="couctrl.statusChoice" ng-change="couctrl.onValueChange()">--> | |
<!--<optgroup label="Status">--> | |
<!--<option value="12" selected="">Delivered</option>--> | |
<!--<option value="13">Not Delivered</option>--> | |
<!--</optgroup>--> | |
<!--</select>--> | |
<span>Status</span> | |
<select | |
ng-init="couctrl.statusChoice" | |
ng-model="couctrl.statusChoice" | |
ng-change="couctrl.onValueChange()" | |
ng-options="choice.id as choice.name for choice in couctrl.statusChoices"> | |
</select> | |
</form> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment