thecodejack/svelte-file-dropzone

Multiple false text says to select multiple files

Closed this issue · 2 comments

sylc commented

When setting the option multiple to false the text is still advising the user to select multiple files. Drag 'n' drop some files here, or click to select files.

I would expect the text be singular in that case eg: Drag 'n' drop a file here, or click to select 1 file.

Probably just need an if statement around https://github.com/thecodejack/svelte-file-dropzone/blob/master/src/lib/components/Dropzone.svelte#L338

Fixed in 2.0.9

sylc commented

Thanks for the quick fix and the library!