Merge pull request #995 from palash2601/fix/combobox-modelValue-update
fix(listbox): prevent modelValue change by child components addition
This commit is contained in:
commit
942ba65d8d
1 changed files with 1 additions and 1 deletions
|
|
@ -670,7 +670,7 @@ const ListboxMixinImplementation = superclass =>
|
|||
ev.stopPropagation();
|
||||
}
|
||||
this.__onChildCheckedChanged(ev);
|
||||
this.requestUpdate('modelValue');
|
||||
this.requestUpdate('modelValue', this.modelValue);
|
||||
this.dispatchEvent(
|
||||
new CustomEvent('model-value-changed', { detail: { element: ev.target } }),
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in a new issue