#1136 adjust call to set value on super

This commit is contained in:
Markus Johansson
2024-01-24 21:17:53 +01:00
parent 256c447fc1
commit ec0bdebbb4

View File

@@ -44,7 +44,7 @@ export class UmbInputTinyMceElement extends FormControlMixin(UmbLitElement) {
}
set value(newValue: FormDataEntryValue | FormData) {
this._value = newValue;
super.value = newValue;
const newContent = newValue?.toString() ?? '';
if(this.#editorRef && this.#editorRef.getContent() != newContent) {