Fix attributes broken by the warning fixes (#23182)

This commit is contained in:
Petar Petrov
2024-12-06 15:56:42 +02:00
committed by GitHub
parent 5fdefc0c20
commit 400ddbf625
61 changed files with 99 additions and 88 deletions

View File

@@ -47,7 +47,7 @@ export class HaCodeEditor extends ReactiveElement {
// eslint-disable-next-line lit/no-native-attributes
@property({ type: Boolean }) public autofocus = false;
@property({ attribute: false, type: Boolean }) public readOnly = false;
@property({ attribute: "read-only", type: Boolean }) public readOnly = false;
@property({ type: Boolean }) public linewrap = false;