From 108eb5286c46bd17a54ccbda31ee95f16a16763e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juli=C3=A1n=20Perelli?= Date: Sat, 30 Sep 2023 17:41:14 +0200 Subject: [PATCH] fix(file-uploader-button): clear value by setting to `""` instead of `null` (#1812) --- src/FileUploader/FileUploaderButton.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FileUploader/FileUploaderButton.svelte b/src/FileUploader/FileUploaderButton.svelte index d7b407d770..937f5161ef 100644 --- a/src/FileUploader/FileUploaderButton.svelte +++ b/src/FileUploader/FileUploaderButton.svelte @@ -62,7 +62,7 @@ $: if (ref && files.length === 0) { labelText = initialLabelText; - ref.value = null; + ref.value = ""; }