colorPicker: change event only shows old color value #5004
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
I would expect change event to provide new selected value. Or both new and old, but I only see old value.
Also, I noted that documentation https://primevue.org/colorpicker/#api.colorpicker.emits.change have obvious copy-paste error:
change | event Callback to invoke when a chip is added.
Reproducer
https://stackblitz.com/edit/vpfxjg?file=src%2FApp.vue
PrimeVue version
3.45.0
Vue version
3.x
Language
TypeScript
Build / Runtime
Vue CLI App
Browser(s)
Chrome 120, Windows 10
Steps to reproduce the behavior
Expected behavior
value in the Change event should be new, or (better) both new and old
The text was updated successfully, but these errors were encountered: