1234567891011121314151617181920212223242526272829 |
- <!-- <ui-select ng-model="model[options.key]" ng-required="{{to.required}}" ng-change="to['onChange'](model[options.key], options, this, $event ,model);" ng-disabled={{to.readOnly}} reset-search-input="false" resh="to.to.refreshDelay">
- <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: {to.labelProp:$select.search}) track by $index" 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> -->
- <!-- <div ng-if="to.labelProp!='place'">
- <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>
- </div> -->
- <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>
- <!-- {{myFilter}} -->
|