svelte-forms-lib
svelte-forms-lib copied to clipboard
form Field not working with type="file"
Uncaught DOMException: Failed to set the 'value' property on 'HTMLInputElement': This input element accepts a filename, which may only be programmatically set to the empty string.
The Field with type="file" throws the error above.
@Mrbeyond when does this happen - on initialisation with an empty value, when selecting a file, or some other event?
I'm not sure svelte-forms-lib is a good fit for a file upload, as it doesn't support any of the complexity around file uploads that something like dropzone supports