Created
October 19, 2015 09:50
-
-
Save tkc/487b65499ef9df2b0033 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
<select | |
ng-model="select2" | |
ng-options="list as list.label for list in list2" | |
class="form-control" | |
></select> | |
<set-select-default list-array="list2" | |
list-key="num" | |
model-name="select2" | |
default-value="<?php echo $SCT->expiry_unit ?>"> | |
</set-select-default> | |
<input hidden name="expiry_unit" value="@{{select2.num}}"> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment