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

Select filter in forms (FormField): The filter input is also invalid when select is invalid. #7052

Open
4 tasks
JoseAntonioNavasSolutia opened this issue Jan 7, 2025 · 2 comments
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible

Comments

@JoseAntonioNavasSolutia
Copy link

Describe the bug

When the select field is invalid, the select filter is also invalid. Also if we filter the filter value is the value of $field.value
filtro_select
filter_value_select

Pull Request Link

No response

Reason for not contributing a PR

  • Lack of time
  • Unsure how to implement the fix/feature
  • Difficulty understanding the codebase
  • Other

Other Reason

No response

Reproducer

stackblitz don't work

Environment

Windows 11

Vue version

3.5.13

PrimeVue version

4.2.0

Node version

20.11.10

Browser(s)

Chrome

Steps to reproduce the behavior

.

Expected behavior

.

@JoseAntonioNavasSolutia JoseAntonioNavasSolutia added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Jan 7, 2025
@JoseAntonioNavasSolutia
Copy link
Author

@david-rohrschneider
Copy link

Hello, I can confirm this. This is also a bigger issue - for multi select fields inside a form or form field, every checkbox and filter input is added to the form state. This breaks the entire form, which is why the select components are not usable with forms

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

No branches or pull requests

2 participants