Skip to content

Commit

Permalink
fix(file-uploader-button): clear value by setting to "" instead of …
Browse files Browse the repository at this point in the history
…`null` (#1812)
  • Loading branch information
jperelli authored Sep 30, 2023
1 parent aae2dd4 commit 108eb52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FileUploader/FileUploaderButton.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
$: if (ref && files.length === 0) {
labelText = initialLabelText;
ref.value = null;
ref.value = "";
}
</script>

Expand Down

0 comments on commit 108eb52

Please sign in to comment.