Commit 779a82c99230a865bf32949294e3d74e72854d13

Authored by ArtemDzhereleiko
1 parent 75fa28f6

add method toLowerCase to option value

@@ -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>