vurghus-minar / isiaFormRepeater

isiaFormRepeater is simple and lightweight jquery form repeater plugin
MIT License
1 stars 1 forks source link

File Upload Input #15

Open craigkendall opened 1 year ago

craigkendall commented 1 year ago

Are there any known issues with repeating a file upload input field?

I have a set of three inputs (text:description, number:amount, file:receipt) that I'm trying to repeat.

The first two are working fine, but when I drop the file upload input inside the isia repeating div the Choose File button doesn't work for the initial sets or added blocks.

If I move the file upload input outside the repeat block the Choose File button becomes active again, but there is only one and I need one upload for each input set.

Any ideas?

craigkendall commented 1 year ago

For a test I commented out the line in the page's head tag, and reloaded the page. While it does disable the ability to add a new section of the combo of fields, it does make the one initial file upload button actually work. With the script tag re-enabled, there is no info in the console log when attempting to click the Choose File button. It behaves like the click is being recognized, but there is no file dialog that appears. It's as if the action normally initiated by the click is not working. Hopefully you have some ideas.