mirror of
https://github.com/home-assistant/frontend.git
synced 2025-10-20 00:59:51 +00:00
Fix incompatible object/array property types (1 of 3) (#19450)
This commit is contained in:
@@ -31,11 +31,11 @@ export class HaFileUpload extends LitElement {
|
||||
|
||||
@property() public supports?: string;
|
||||
|
||||
@property() public value?: File | File[] | FileList | string;
|
||||
@property({ type: Object }) public value?: File | File[] | FileList | string;
|
||||
|
||||
@property({ type: Boolean }) public multiple = false;
|
||||
|
||||
@property({ type: Boolean, reflect: true }) public disabled: boolean = false;
|
||||
@property({ type: Boolean, reflect: true }) public disabled = false;
|
||||
|
||||
@property({ type: Boolean }) public uploading = false;
|
||||
|
||||
|
Reference in New Issue
Block a user