Skip to content

Commit

Permalink
disable on empty
Browse files Browse the repository at this point in the history
  • Loading branch information
eyeseast committed Nov 20, 2024
1 parent 378d1dd commit af94861
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/components/forms/DocumentUpload.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ progress through the three-part upload process.
type="submit"
full
mode="primary"
disabled={disabled || exceedsSizeLimit}
disabled={disabled || exceedsSizeLimit || empty}
>
<Upload16 />{$_("uploadDialog.beginUpload")}
</Button>
Expand Down

0 comments on commit af94861

Please sign in to comment.