Browse Source

add method toLowerCase to option value

pull/5153/head
ArtemDzhereleiko 5 years ago
parent
commit
779a82c992
  1. 2
      ui-ngx/src/app/modules/home/components/widget/lib/multiple-input-widget.component.html

2
ui-ngx/src/app/modules/home/components/widget/lib/multiple-input-widget.component.html

@ -112,7 +112,7 @@
(focus)="key.isFocused = true;"
(blur)="key.isFocused = false; inputChanged(source, key)">
<mat-option *ngFor="let option of key.settings.selectOptions"
[value]="option.value !== 'null' ? option.value : null"
[value]="option.value.toLowerCase() !== 'null' ? option.value : null"
[disabled]="key.settings.isEditable === 'readonly'">
{{ getCustomTranslationText(option.label ? option.label : option.value) }}
</mat-option>

Loading…
Cancel
Save