FileUpload v4.0.0-beta.3: Subsequent file selections no longer possible in basic mode (regression from v4.0.0-beta.2) #5748
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
After choosing a file in FileUpload basic, you can no longer make a different selection after the first selection was made as the file chooser does no longer open if you click the Choose button after a file was chosen initially.
This is a regression from v4.0.0-beta.2
I think this is the change causing this:
63d04f0#diff-f7197e6585649dd533bfb0f3a1a19e25a1b9bfc436d4b7cb370c221cbb006004R101
If
this.hasFiles === true
, the input is no longer triggered.Reproducer
https://stackblitz.com/edit/primevue-create-vue-typescript-issue-template-cepbjp?file=src%2FApp.vue
PrimeVue version
4.0.0-beta.3
Vue version
3.x
Language
TypeScript
Build / Runtime
Vite
Browser(s)
No response
Steps to reproduce the behavior
Expected behavior
When clicking the choose button again after a file was selected, we can make a new file selection that replaces the previous selection.
The text was updated successfully, but these errors were encountered: