Auto focus tag input (#2938)

This commit is contained in:
YOSHIDA Katsuhiko 2018-10-14 16:39:08 +09:00 committed by Arik Fraimovich
parent e97a5cbb29
commit 114beb2480

View File

@ -4,7 +4,7 @@
</div>
<div class="modal-body">
<ui-select multiple append-to-body tagging tagging-label=" "
ng-model="$ctrl.resolve.items" sortable="true">
ng-model="$ctrl.resolve.items" sortable="true" autofocus>
<ui-select-match placeholder="Add some tags...">{{ $item }}</ui-select-match>
<ui-select-choices repeat="value in $ctrl.resolve.availableTags | filter:$select.search">
{{ value }}