mirror of
https://github.com/sismics/docs.git
synced 2024-06-02 00:24:33 +02:00
11 lines
615 B
HTML
11 lines
615 B
HTML
<div>
|
|
<ul class="list-inline">
|
|
<li ng-repeat="tag in tags">
|
|
<span class="label label-info" ng-style="{ 'background': tag.color }" invert-text-color="{{ tag.color }}">{{ tag.name }}
|
|
<span class="fas fa-times" ng-click="deleteTag(tag)" ng-show="!ngDisabled"></span>
|
|
</span>
|
|
</li>
|
|
</ul>
|
|
<input class="form-control" type="text" id="{{ ref }}" ng-attr-placeholder="{{ 'directive.selecttag.typeahead' | translate }}" ng-model="input" ng-disabled="ngDisabled"
|
|
autocomplete="off" uib-typeahead="tag.name for tag in allTags | filter: $viewValue" typeahead-on-select="addTag()" />
|
|
</div> |