ui-select-xj.html 834 B

12345678910
  1. <div formly-custom-validation="options.validators">
  2. <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">
  3. <ui-select-match placeholder="{{to.placeholder}}">
  4. {{$select.selected[to.labelProp || 'name']}}
  5. </ui-select-match>
  6. <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}}">
  7. <div ng-bind-html="option[to.labelProp || 'name'] | highlight: $select.search"></div>
  8. </ui-select-choices>
  9. </ui-select>
  10. </div>