react-widgets icon indicating copy to clipboard operation
react-widgets copied to clipboard

Listbox : onChange gets triggered regardless of whether the value has actually changed

Open dparkar opened this issue 2 years ago • 1 comments

Is there a difference between onChange and onSelect ? Both events are triggered regardless of whether the value has actually changed.

onSelect: https://jquense.github.io/react-widgets/docs/Listbox/#onSelect ("This handler fires when an item has been selected from the list. It fires before the onChange handler and fires regardless of whether the value has actually changed.")

I was hoping onChange is only triggered if the value has actually changed.

dparkar avatar Sep 20 '21 18:09 dparkar

@jquense can you help to resolve this issue?

cb-aravindh avatar Jan 03 '22 07:01 cb-aravindh