What am I missing here -
If the combobox selectionMode === single, the event doesn't fire
If the combobox selectionMode === multi or ancestors, the event does fire and I can get the selected item from evt.detail[0].
How do I get the selected item from the combobox when using single selection mode?
Referencing https://github.com/Esri/calcite-components/tree/v1.0.0-beta.52/src/components/calcite-combobox
Thanks!
Rob
Solved! Go to Solution.
Hey Rob! I've used the 'calciteComboboxItemChange' event in a recent app and it seems to do what I needed. Here's a codepen showing how I use it: https://codepen.io/john-grayson/pen/zYwBVBZ
Hey Rob! I've used the 'calciteComboboxItemChange' event in a recent app and it seems to do what I needed. Here's a codepen showing how I use it: https://codepen.io/john-grayson/pen/zYwBVBZ
Thanks John. I appreciate the assist.
To sum - using the calciteComboboxItemChange event (instead of calciteLookupChange) and the newer version of calcite (beta 5.9 instead of 5.2) did it.
Best regards!
Rob