Просмотр исходного кода

fix(admin-ui): Fix custom field select input

Fixes #1342
Michael Bromley 4 лет назад
Родитель
Сommit
2bbb972ce0

+ 1 - 1
packages/admin-ui/src/lib/core/src/shared/dynamic-form-inputs/select-form-input/select-form-input.component.html

@@ -1,6 +1,6 @@
 <select clrSelect [formControl]="formControl" [vdrDisabled]="readonly">
     <option *ngIf="config.nullable" [ngValue]="null"></option>
-    <option *ngFor="let option of options" [value]="option.value">
+    <option *ngFor="let option of options" [ngValue]="option.value">
         {{ (option | customFieldLabel) || option.label || option.value }}
     </option>
 </select>