#15292·primeng

Dropdown: selecting a value causes flashing validation errors

Author: mscharrigCreated Apr 17, 2024Updated Sep 21, 2026
LabelsType: Bug

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 https://github.com/primefaces/primeng/issues/7629, that ticket is only a fix for search while not addressing same issue at the root level.