calciteSegmentedControlChange has no detail

334
1
Jump to solution
02-06-2023 12:17 PM
Labels (2)
BenPitcairn
New Contributor II

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)

0 Kudos
1 Solution

Accepted Solutions
KittyHurley
Esri Contributor

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.

View solution in original post

0 Kudos
1 Reply
KittyHurley
Esri Contributor

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.

0 Kudos