web/elements: fix error resetting form with codemirror
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
78a4a167ac
commit
717282b4b7
|
@ -29,6 +29,7 @@ export class CodeMirrorTextarea extends LitElement {
|
|||
|
||||
@property()
|
||||
set value(v: string) {
|
||||
if (v === null) return;
|
||||
this._value = v.toString();
|
||||
}
|
||||
|
||||
|
|
Reference in New Issue