the calciteSegmentedControlChange has no `detail` attribute. The documentation states that it should be the value of the selected item (this was the behaviour of the previous radio group component)
Solved! Go to Solution.
Thanks for spotting and reporting, @BenPitcairn!
With the 1.0.3 release there were a number of API consistency updates across the components, and event payloads were one of the consistencies.
The updated payload is now "event.target" (previously "event.detail"). I added a new issue to update the event payload in the documentation if you are interested in following its progress via GitHub.
Other API consistency changes are documented in our Changelog, if of interest.
Thanks for spotting and reporting, @BenPitcairn!
With the 1.0.3 release there were a number of API consistency updates across the components, and event payloads were one of the consistencies.
The updated payload is now "event.target" (previously "event.detail"). I added a new issue to update the event payload in the documentation if you are interested in following its progress via GitHub.
Other API consistency changes are documented in our Changelog, if of interest.