diff options
Diffstat (limited to 'client/src/app/shared/shared-forms/select/select-custom-value.component.html')
-rw-r--r-- | client/src/app/shared/shared-forms/select/select-custom-value.component.html | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/client/src/app/shared/shared-forms/select/select-custom-value.component.html b/client/src/app/shared/shared-forms/select/select-custom-value.component.html new file mode 100644 index 000000000..5fdf432ff --- /dev/null +++ b/client/src/app/shared/shared-forms/select/select-custom-value.component.html | |||
@@ -0,0 +1,14 @@ | |||
1 | <div class="root"> | ||
2 | <my-select-options | ||
3 | [items]="itemsWithCustom" | ||
4 | [clearable]="clearable" | ||
5 | [searchable]="searchable" | ||
6 | [groupBy]="groupBy" | ||
7 | [labelForId]="labelForId" | ||
8 | |||
9 | [(ngModel)]="selectedId" | ||
10 | (ngModelChange)="onModelChange()" | ||
11 | ></my-select-options> | ||
12 | |||
13 | <input *ngIf="isCustomValue()" [(ngModel)]="customValue" (ngModelChange)="onModelChange()" type="text" class="form-control" /> | ||
14 | </div> | ||