fixes clearing fields that should not be clearable

This commit is contained in:
jonaswinkler
2020-12-22 13:39:46 +01:00
parent 4cbde3f2d1
commit 77fd6bba8f
2 changed files with 3 additions and 2 deletions

View File

@@ -5,6 +5,7 @@
[disabled]="disabled"
[style.color]="textColor"
[style.background]="backgroundColor"
[clearable]="allowNull"
(change)="onChange(value)"
(blur)="onTouched()">
<ng-option *ngFor="let i of items" [value]="i.id">{{i.name}}</ng-option>