12345678910 |
- <div formly-custom-validation="options.validators">
- <ui-select ng-model="model[options.key]" theme="bootstrap" ng-required="{{to.required}}" ng-change="to['onChange'](model[options.key], options, this, $event ,model,$select.selected);" ng-disabled={{to.readOnly}} 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,myFilter)" refresh-delay="{{to.refreshDelay}}">
- <div ng-bind-html="option[to.labelProp || 'name'] | highlight: $select.search"></div>
- </ui-select-choices>
- </ui-select>
- </div>
|