Browse Source

Merge pull request #11541 from vvlladd28/bug/multimple-input/not-updated-select

Fixed multiple input widget not updated dynamically selector after change and save value
pull/11592/head
Igor Kulikov 2 years ago
committed by GitHub
parent
commit
a36706198c
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      ui-ngx/src/app/modules/home/components/widget/lib/multiple-input-widget.component.html

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

@ -123,8 +123,8 @@
<mat-label>{{key.label}}</mat-label>
<mat-select formControlName="{{key.formId}}"
[required]="key.settings.required"
(focus)="key.isFocused = true;"
(selectionChange)="key.isFocused = false; inputChanged(source, key)">
(openedChange)="key.isFocused = $event"
(selectionChange)="inputChanged(source, key)">
<mat-option *ngFor="let option of key.settings.selectOptions"
[value]="option.value"
[disabled]="key.settings.isEditable === 'readonly'">

Loading…
Cancel
Save