Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FileUploader: Error message for invalid filetype does not show #5438

Closed
pkwestm opened this issue Mar 18, 2024 · 1 comment
Closed

FileUploader: Error message for invalid filetype does not show #5438

pkwestm opened this issue Mar 18, 2024 · 1 comment

Comments

@pkwestm
Copy link

pkwestm commented Mar 18, 2024

Describe the bug

I think the fix in #5260 introduced a new bug. If you have provided accept property and try to select a filetype that is not in accept property, the error message of invalid filetype will not show.

Reproducer

https://stackblitz.com/edit/primevue-create-vue-issue-template-hoaxde?file=src%2FApp.vue

PrimeVue version

3.50.0

Vue version

3.x

Language

TypeScript

Build / Runtime

Vue CLI App

Browser(s)

Chrome

Steps to reproduce the behavior

Select "Choose"
Select "all" under filetypes.
Select any file that is not a jpeg or png

Expected behavior

Error message for invalid filetype should show.

@pkwestm pkwestm added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Mar 18, 2024
@tugcekucukoglu
Copy link
Member

Related with #5497

@tugcekucukoglu tugcekucukoglu removed the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants