File Upload: Basic mode breaks all file selections after initial selection #6257
Labels
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Describe the bug
In basic mode there are initial steps of transforming the choose button to an upload button, however the change is incomplete. This leads to the problem that after the initial selection the choose buttons becomes inactive onBasicUploaderClick only opens the choose file dialog if no files have been selected so far. Additionally the hidden file input element is removed due to an v-if="!hasFiles".
Reproducer
https://stackblitz.com/edit/primevue-4-vite-issue-template-5hc4ym?file=src%2FApp.vue
PrimeVue version
4.0.4
Vue version
4.x
Language
TypeScript
Build / Runtime
Vue CLI App
Browser(s)
No response
Steps to reproduce the behavior
Expected behavior
No response
The text was updated successfully, but these errors were encountered: