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

Dropdown: selecting a value causes flashing validation errors #15292

Open
mscharrig opened this issue Apr 17, 2024 · 1 comment
Open

Dropdown: selecting a value causes flashing validation errors #15292

mscharrig opened this issue Apr 17, 2024 · 1 comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@mscharrig
Copy link

Describe the bug

This is essential a reopen of the already closed issue: #9425. I'm not sure if the details explained there are still up to date, but the bug itself definitely still exists.

Current behavior
Selecting a value of a dropdown without a filter will cause flashing validation errors

Environment

Reproducer

https://stackblitz.com/edit/github-9mfptz

Angular version

17.3.4

PrimeNG version

17.13.0

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

18.17.1

Browser(s)

No response

Steps to reproduce the behavior

  1. Select Primeng dropdown without filter.
  2. Click and hold on a value.
  3. See validation error until mouseup.
  4. Repeat without holding and see a flash of validation errors.
  5. Repeat the steps above using the dropdown with filter.
  6. No flashing validation errors are occuring

Expected behavior

Selecting a value of a dropdown should not cause flashing validation errors

What is the motivation / use case for changing the behavior?
This will have a better user experience without flashing validation errors and work more like a extension of a select element. While this is similar to #7629, that ticket is only a fix for search while not addressing same issue at the root level.

@mscharrig mscharrig added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Apr 17, 2024
@mscharrig mscharrig changed the title Dropdown control: selecting a value causes flashing validation errors Dropdown: selecting a value causes flashing validation errors Apr 17, 2024
@mehmetcetin01140 mehmetcetin01140 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 Jun 6, 2024
@mehmetcetin01140 mehmetcetin01140 added this to the 17.18.1 milestone Jun 6, 2024
@cetincakiroglu cetincakiroglu modified the milestones: 17.18.1, 17.18.2 Jun 13, 2024
@mehmetcetin01140 mehmetcetin01140 modified the milestones: 17.18.2, 17.18.3 Jun 27, 2024
@cetincakiroglu cetincakiroglu modified the milestones: 17.18.3, 17.18.4 Jul 4, 2024
@mehmetcetin01140 mehmetcetin01140 modified the milestones: 17.18.4, 17.18.5 Jul 11, 2024
@cetincakiroglu cetincakiroglu modified the milestones: 17.18.5, 18.Future Jul 18, 2024
@wernigtobias
Copy link

any updates?

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: No status
Development

No branches or pull requests

4 participants