Stripe Apps lets you embed custom user experiences directly in the Stripe Dashboard and orchestrate the Stripe API.
148
stars
73
forks
source link
onSelectionChange in the Tab component in version 9 returns an unexpected `$.index` value. #992
Closed
bensontrent closed 2 weeks ago
The docs at https://docs.stripe.com/stripe-apps/components/tabs?app-sdk-version=9#controlled-tabs suggest that the result of onSelectionChange will return the tab or key ID. However, either the docs or the SDK need to be updated since the return result of setSelectionChange in a tab component is
$.index
, ie$.0
,$.1
etc.Here's a test component to confirm this:
Result: