themesberg / flowbite-vue

Official Vue 3 components built for Flowbite and Tailwind CSS
https://flowbite-vue.com
MIT License
745 stars 118 forks source link

feat(component): new file-input component #166

Closed vasucp1207 closed 1 year ago

vasucp1207 commented 1 year ago
cogor commented 1 year ago

May you add an empty line at end of file? https://stackoverflow.com/questions/729692/why-should-text-files-end-with-a-newline

cogor commented 1 year ago

Drop zone doesn't work, can we fix it? I found an article on MDN and think it will be heplful

vasucp1207 commented 1 year ago

It's actually working but the value does not appear in dropzone, I fix this now it's working fine.

cogor commented 1 year ago

Incorrect title in docs – "Vue Dropdown - Flowbite "

cogor commented 1 year ago

And drag and drop files isn't works yet Look this video, when I droped file it just opens in tab

vasucp1207 commented 1 year ago

And drag and drop files isn't works yet Look this video, when I droped file it just opens in tab

Fix the file drag part according to the MDN check now.

cogor commented 1 year ago

I found some problems: Instead of file I got filename and I can't do something with it, for example upload to server We need to add multiple files support

vasucp1207 commented 1 year ago

I found some problems: Instead of file I got filename and I can't do something with it, for example upload to server We need to add multiple files support

Add support for multiple files, also changes file type to actual file object, not fileName.

cogor commented 1 year ago

LGTM