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
|
2018-03-26 10:24:34 +00:00
|
|
|
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>
|
2018-03-17 12:17:48 +00:00
|
|
|
</div>
|
|
|
|
<vn-drop-down
|
|
|
|
vn-id="drop-down"
|
2019-06-13 11:08:11 +00:00
|
|
|
on-select="$ctrl.onDropDownSelect(item)"
|
2018-10-18 07:24:20 +00:00
|
|
|
on-data-ready="$ctrl.onDataReady()">
|
2018-03-17 12:17:48 +00:00
|
|
|
</vn-drop-down>
|