12 lines
422 B
HTML
12 lines
422 B
HTML
<div class="tags">
|
|
<span class="tag rounded bg-primary text-white" *ngFor="let tag of tags;"><span>{{tag}}</span> <i
|
|
(click)="handleDeleteTag(tag)" class="fal fa-times" aria-hidden="true"></i></span><input
|
|
type="text" #tagInputElement
|
|
(blur)="handleBlur(false)"
|
|
(keyup)="handleKeyUp($event)"
|
|
[(ngModel)]="tag"
|
|
[ngbTypeahead]="findTag"
|
|
(selectItem)="handleSelect($event)"
|
|
placeholder="New tag"/>
|
|
</div>
|