Closed chicagocomputerclasses closed 1 year ago
Describe the bug Trying to limit the file type to a CSV, but props passed are not assigned to the input field.
To Reproduce <MuiFileInput inputProps={{ accept: '.csv' }} />
<MuiFileInput inputProps={{ accept: '.csv' }} />
Expected behavior Should only allow to select files with .csv extensions. Instead it alloows to choose any file you want.
Desktop (please complete the following information):
Describe the bug Trying to limit the file type to a CSV, but props passed are not assigned to the input field.
To Reproduce
<MuiFileInput inputProps={{ accept: '.csv' }} />
Expected behavior Should only allow to select files with .csv extensions. Instead it alloows to choose any file you want.
Desktop (please complete the following information):