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

FileUpload: fileLimit dosent prevent new items beeing pushed into Files[], when exceeded #6900

Closed
sdkirlak opened this issue Nov 30, 2024 · 0 comments
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@sdkirlak
Copy link
Contributor

Describe the bug

fileLimit prop dosent prevent item push into files (ondragndrop & select via button)

Based on Template

I only added itemLimit

Reproducer

https://stackblitz.com/edit/r6hm2g?file=src%2FApp.vue

PrimeVue version

4.0.3

Vue version

4.x

Language

TypeScript

Build / Runtime

Vite

Browser(s)

No response

Steps to reproduce the behavior

  1. Drag and drop as much images as you want

Expected behavior

Prevent new files beeing pushed into Files[], when fileLimit is exceeded

@sdkirlak sdkirlak added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Nov 30, 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 Dec 2, 2024
@tugcekucukoglu tugcekucukoglu added this to the 4.2.5 milestone Dec 2, 2024
@github-project-automation github-project-automation bot moved this to Done in PrimeVue Dec 2, 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
Status: Done
Development

No branches or pull requests

2 participants