SelectButton in v16.7.1 is only partially fixed #14048
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
Issue #14021 (SelectButton broken in v16.7.0) for v16.7.1 was only partially fixed.
In v16.7.1 the option value is now correctly updated, but the property allowEmpty is still ignored.
I have updated the original reproducer to use PrimeNG v1.16.7.1 (no other changes) to demonstrate this issue.
The video listed below shows that the allowEmpty property is ignored (it also shows that the optitionValue is being set correctly)
SelectButtonAllowEmpty.mov
Environment
mac os and windows
Reproducer
https://stackblitz.com/edit/uqd2gx-4ug53g
Angular version
16.x
PrimeNG version
16.7.1
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
No change. The "Off" button color should remain blue and "select button: value = false" should also not change
The text was updated successfully, but these errors were encountered: