fix(listbox): prevent modelValue change by child components addition
This commit is contained in:
parent
580603cedf
commit
94da0ae90c
1 changed files with 1 additions and 1 deletions
|
|
@ -670,7 +670,7 @@ const ListboxMixinImplementation = superclass =>
|
||||||
ev.stopPropagation();
|
ev.stopPropagation();
|
||||||
}
|
}
|
||||||
this.__onChildCheckedChanged(ev);
|
this.__onChildCheckedChanged(ev);
|
||||||
this.requestUpdate('modelValue');
|
this.requestUpdate('modelValue', this.modelValue);
|
||||||
this.dispatchEvent(
|
this.dispatchEvent(
|
||||||
new CustomEvent('model-value-changed', { detail: { element: ev.target } }),
|
new CustomEvent('model-value-changed', { detail: { element: ev.target } }),
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue