web/elements: fix error resetting form with codemirror

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-03-30 19:56:00 +02:00
parent 78a4a167ac
commit 717282b4b7
1 changed files with 1 additions and 0 deletions

View File

@ -29,6 +29,7 @@ export class CodeMirrorTextarea extends LitElement {
@property()
set value(v: string) {
if (v === null) return;
this._value = v.toString();
}