salix/front/core/components/autocomplete/autocomplete.html

27 lines
895 B
HTML
Raw Normal View History

2018-03-09 13:15:30 +00:00
<div>
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
<input
type="button"
class="mdl-textfield__input"
ng-click="$ctrl.onMouseDown($event)"
2018-09-14 07:10:30 +00:00
ng-keydown="$ctrl.onKeyDown($event)"/>
2018-03-09 13:15:30 +00:00
<div class="icons">
<vn-icon
ng-show="!$ctrl.disabled"
2018-03-09 13:15:30 +00:00
icon="clear"
class="clear"
ng-click="$ctrl.onClearClick($event)"
translate-attr="{title: 'Clear'}">
</vn-icon>
</div>
2019-06-17 06:14:48 +00:00
<label class="mdl-textfield__label">
<span translate>{{::$ctrl.label}}</span>
2019-07-08 12:07:09 +00:00
<span translate ng-show="::$ctrl.required">*</span>
2019-06-17 06:14:48 +00:00
</label>
2018-03-09 13:15:30 +00:00
</div>
</div>
<vn-drop-down
vn-id="drop-down"
on-select="$ctrl.onDropDownSelect(item)"
2018-10-18 07:24:20 +00:00
on-data-ready="$ctrl.onDataReady()">
</vn-drop-down>