12-12-2020 09:58
12-12-2020 09:58
I am stuck..Working with Calendars.. Trying to populate a Select's "Option" list with the Calendar Names.
Using Fitbit Studio, here's what I'm pulling into the "settings.jsx"
let calendars = JSON.parse(props.settingsStorage.getItem('calendars'));
produces
{"id":"4","sourceId":"1","title":"Peter Falk"},{"id":"21","sourceId":"1","title":"redacted1@example.com"},{"id":"22","sourceId":"22","title":"redacted2@example.com"}]
I've tried using forEach with .push but best I can do is get the correct number of "Selection Dots" to show up... Can't populate the Name with anything... It's always blank..
End goal is to select a Single Calendar, toggle won't work as I'm just trying to get an All Day event from the selected Calendar.... Any Insights?
09-01-2021 21:26
09-01-2021 21:26
Did you ever figure this one out?
09-02-2021 09:42
09-02-2021 09:42
Negative... Gave up and just hard coded the calendar id in..