Commit 779a82c99230a865bf32949294e3d74e72854d13
1 parent
75fa28f6
add method toLowerCase to option value
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -112,7 +112,7 @@ | @@ -112,7 +112,7 @@ | ||
112 | (focus)="key.isFocused = true;" | 112 | (focus)="key.isFocused = true;" |
113 | (blur)="key.isFocused = false; inputChanged(source, key)"> | 113 | (blur)="key.isFocused = false; inputChanged(source, key)"> |
114 | <mat-option *ngFor="let option of key.settings.selectOptions" | 114 | <mat-option *ngFor="let option of key.settings.selectOptions" |
115 | - [value]="option.value !== 'null' ? option.value : null" | 115 | + [value]="option.value.toLowerCase() !== 'null' ? option.value : null" |
116 | [disabled]="key.settings.isEditable === 'readonly'"> | 116 | [disabled]="key.settings.isEditable === 'readonly'"> |
117 | {{ getCustomTranslationText(option.label ? option.label : option.value) }} | 117 | {{ getCustomTranslationText(option.label ? option.label : option.value) }} |
118 | </mat-option> | 118 | </mat-option> |