web/admin: use shadowroot for codemirror, remove styles

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer
2021-03-29 12:16:32 +02:00
parent e7c6ff9499
commit d71d45b958
10 changed files with 58 additions and 28 deletions

View File

@ -19,16 +19,16 @@ export class HorizontalFormElement extends LitElement {
}
@property()
label: string = "";
label = "";
@property({ type: Boolean })
required = false;
@property()
errorMessage: string = "";
errorMessage = "";
@property()
invalid: boolean = false;
@property({ type: Boolean })
invalid = false;
updated(): void {
this.querySelectorAll<HTMLInputElement>("input[autofocus]").forEach(input => {