react-csv-importer icon indicating copy to clipboard operation
react-csv-importer copied to clipboard

How I can check file validation

Open mehul-accrete opened this issue 2 years ago • 6 comments

Hi @unframework , I want to check file extension is valid or not, how I can do it. And how we can prevent import if invalid file extension?

mehul-accrete avatar Jul 08 '22 07:07 mehul-accrete

Hmm, this could be a useful feature to add in. At which step of the process would you want to do this - before the user sees the raw file data preview?

unframework avatar Jul 13 '22 16:07 unframework

@unframework It should be before preview, means when file select it should validate.

mehul-accrete avatar Jul 14 '22 05:07 mehul-accrete

@unframework Any update on this? Because I have some urgent requirement it, else I need to integrate something else.

mehul-accrete avatar Jul 19 '22 06:07 mehul-accrete

Hi Mehul, my day job has been really busy in the last couple weeks, but I should have time to look at this this week. I can't guarantee anything though - I want to be slow and careful with API design, etc, so you may need a fallback plan unfortunately. Sorry about that 😐

unframework avatar Jul 19 '22 20:07 unframework

@unframework I would like to work on it, please assign.

MusabShakeel576 avatar Nov 19 '22 12:11 MusabShakeel576

Hey Guys;

Any update on this? Because when we try to upload .xlsx files, the encoding seems not working

image

devLeopar avatar May 18 '23 19:05 devLeopar