05-25-2020 22:26 - edited 05-25-2020 22:55
05-25-2020 22:26 - edited 05-25-2020 22:55
Hi,
On https://dev.fitbit.com/build/reference/settings-api/
There's an example for <ColorSelect>
<ColorSelect
value={props.settings.color}
onChange={value => props.settingsStorage.setItem('color', value)}
/>
Then later the document lists properties of ColorSelect, only "onSelection" not "onChange", with another example.
Which one is available? If they are not both available then is this a bug in the document?
--------------------------------
Ok, I tried with an example, "onChange" is never called. "onSelection" is the correct one. Then this is a bug and the document should be corrected.
Bing
Answered! Go to the Best Answer.
05-26-2020 13:54
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
05-26-2020 13:54
Thanks for the feedback!
Best Answer05-26-2020 13:54
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
05-26-2020 13:54
Thanks for the feedback!
Best Answer