123456789 |
- <ui-select ng-model="model[options.key]" theme="bootstrap" ng-required="{{to.required}}"
- ng-change="to['onChange'](model[options.key], options, this, $event ,model);"
- ng-disabled="to.disabled" reset-search-input="false">
- <ui-select-match placeholder="{{to.placeholder}}">
- {{$select.selected[to.labelProp || 'name']}}
- </ui-select-match>
- <ui-select-choices uiDisableChoice="option.disabled" repeat="option[to.valueProp || 'value'] as option in to.options | filter: $select.search" refresh="to.refresh($select.search, options)" refresh-delay="{{to.refreshDelay}}">
- <div ng-bind-html="option[to.labelProp || 'name'] | highlight: $select.search"></div> </ui-select-choices>
- </ui-select>
|