salix/front/core/components/searchbar/searchbar.html

32 lines
900 B
HTML
Raw Normal View History

2017-02-21 10:36:43 +00:00
<form ng-submit="$ctrl.onSubmit()">
2019-10-09 22:47:29 +00:00
<vn-textfield
class="dense vn-py-md"
placeholder="{{::'Search' | translate}}"
ng-model="$ctrl.searchString">
<prepend>
<vn-icon
icon="search"
ng-click="$ctrl.clearFilter(); $ctrl.onSubmit()"
pointer>
</vn-icon>
</prepend>
<append>
<vn-icon
2019-04-12 12:33:08 +00:00
ng-if="$ctrl.info"
icon="info_outline"
2019-10-09 22:47:29 +00:00
vn-tooltip="{{$ctrl.info}}"
pointer>
</vn-icon>
<vn-icon
ng-if="$ctrl.panel"
ng-click="$ctrl.openPanel($event)"
icon="arrow_drop_down"
2019-04-12 12:33:08 +00:00
pointer>
2019-10-09 22:47:29 +00:00
</vn-icon>
</append>
</vn-textfield>
</form>
<vn-popover
vn-id="popover"
on-close="$ctrl.onPopoverClose()">
</vn-popover>