SelectButton broken in v16.7.0 #14021
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
The SelectButton doesn't work.
-- empty is incorrectly always allowed
Listed below are two videos running the exact same code except for the version of PrimeNG. In the videos the top SelectButton has allowEmpty=false and the bottom SelectButton has allowEmpty=true.
BAD: The first video is v16.7.0 and demonstrates that the SelectButton doesn't work. Both SelectButtons show the exact same behavior and the optionValue for each SelectButton never changes.
SelectButtonPrimeNG16.7.0.mov
GOOD: The second video is v16.6.0 and demonstrates the SelectButton working properly.
SelectButtonPrimeNG16.6.0.mov
Environment
Mac and Windows
Reproducer
https://stackblitz.com/edit/uqd2gx
Angular version
16.x
PrimeNG version
16.7.0
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
18.18.1
Browser(s)
safari, chrome, firefox
Steps to reproduce the behavior
Expected behavior
The text was updated successfully, but these errors were encountered: