mirror of
				https://github.com/home-assistant/frontend.git
				synced 2025-10-26 03:59:43 +00:00 
			
		
		
		
	Clear input element value of ha-file-upload (#17663)
				
					
				
			This commit is contained in:
		| @@ -146,6 +146,7 @@ export class HaFileUpload extends LitElement { | ||||
|   private _clearValue(ev: Event) { | ||||
|     ev.preventDefault(); | ||||
|     this.value = null; | ||||
|     this._input!.value = ""; | ||||
|     fireEvent(this, "change"); | ||||
|   } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Matthias Alphart
					Matthias Alphart