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

Upload: Error showing when all the files are removed. #5260

Closed
anchan42 opened this issue Feb 10, 2024 · 0 comments
Closed

Upload: Error showing when all the files are removed. #5260

anchan42 opened this issue Feb 10, 2024 · 0 comments
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@anchan42
Copy link

Describe the bug

When setting a limit on the number of files that can be uploaded and rendering the error messages manually, the error message would show up again when all the files are removed.

Reproducer

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

PrimeVue version

3.48.1

Vue version

3.x

Language

ES6

Build / Runtime

Vite

Browser(s)

Chrome latest

Steps to reproduce the behavior

  1. Upload more than the limit on the number of files (3 files). The manually rendered message would show. This is ok.

image

  1. Remove the files one by one until the last file. The error message would shows again on its own. This is a bug.
    image

Expected behavior

The error message should not be showing when there is no file left.

@anchan42 anchan42 added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Feb 10, 2024
@tugcekucukoglu tugcekucukoglu added Type: Bug Issue contains a bug related to a specific component. Something about the component is not working and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Feb 16, 2024
@tugcekucukoglu tugcekucukoglu added this to the 3.49.0 milestone Feb 16, 2024
@tugcekucukoglu tugcekucukoglu self-assigned this Feb 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

No branches or pull requests

2 participants