jquense/react-widgets

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

dparkar opened this issue · 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.

@jquense can you help to resolve this issue?