Light and simple Reactjs drag and drop files library to use with very flexible options to change, so you put whatever the design you want for your drop-area. Users can drag and drop or even select the file anywhere in the window.
MIT License
245
stars
86
forks
source link
Add an id attribute to the file input element #131
Fix of the browser error:
"Incorrect use of <label for=FORM_ELEMENT>: The label's "for" attribute didn't match any element ID, which could prevent the browser from autofilling the form and affect accessibility tools".
Key Changes
An "id" attribute has been added to the file input element in the FileUploader component to resolve the issue.
Check List
[ ] The changes to the "Readme" file(if needed)
[x] The changes not breaking any old rule of the library or usage
Summary
This Pull Request addresses the following issue:
Fix of the browser error: "Incorrect use of
<label for=FORM_ELEMENT>
: The label's "for" attribute didn't match any element ID, which could prevent the browser from autofilling the form and affect accessibility tools".Key Changes
An "id" attribute has been added to the file input element in the FileUploader component to resolve the issue.
Check List