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

Form validation with InputMenu doesn't trigger when expected #3726

Open
shareefhadid opened this issue Mar 29, 2025 · 0 comments
Open

Form validation with InputMenu doesn't trigger when expected #3726

shareefhadid opened this issue Mar 29, 2025 · 0 comments
Assignees
Labels
bug Something isn't working triage v3 #1289

Comments

@shareefhadid
Copy link

Environment



Is this bug related to Nuxt or Vue?

Nuxt

Version

v3.0.1

Reproduction

https://codesandbox.io/p/devbox/adoring-gates-fd8q9s

Description

Expected behaviour

Validation should trigger when a user adds or removes items from an input menu that has the multiple prop

Actual behaviour

Validation seems to trigger when the input menu is opened or closed, but not when items are removed

Reproduction

  1. Use the codesandbox provided
  2. Add all 4 items to the input
  3. Validation should trigger saying 3 max
  4. Remove an item
  5. Validation error persists, when it should be gone
  6. Remove all the items
  7. Add a single item
  8. Remove them item
  9. Validation error should appear stating 1 item min, but it doesn't

Additional context

Screen capture

Untitled.mov

Logs

@shareefhadid shareefhadid added bug Something isn't working triage v3 #1289 labels Mar 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage v3 #1289
Projects
None yet
Development

No branches or pull requests

2 participants