shuriken-ui / nuxt

Nuxt version of Shuriken UI with ready to use components
https://shurikenui.com/
MIT License
139 stars 18 forks source link

feat: add multiple uploads to BaseInputFileHeadless #106

Closed awssam closed 5 months ago

awssam commented 6 months ago

modify code so selecting new files will appends to the existing list instead of replacing it,

stafyniaksacha commented 6 months ago

Hello @awssam! Thanks for the contribution, this is a nice addition, however I would ask if you can add a new multiple property?

So the behavior remains the same when the propery is omited and has your new feature when it's set.

Let me know if you need some help or if you want me to implement it for you!

awssam commented 6 months ago

Hello @stafyniaksacha,

I've implemented the requested modifications regarding the addition of the 'multiple' property to 'BaseInputFileHeadless.vue'. These changes allow the component to handle multiple file selections when the property is set to true, while maintaining the existing behavior when the property is omitted or set to false.

You can view the specific changes in the latest commit here: 4d2f0eae.

Please let me know if there are any further adjustments needed or if you have any additional feedback. I’m happy to make additional updates if required.

Thank you for your guidance and support on this