08-26-2019 16:53
08-26-2019 16:53
Hi guys,
Has anyone got a suggestion as to how to select a date in the companion settings in settings.jsx?
If a full date picker is too hard, is there a way to dynamically show the last 60 days in a select?
Thanks.
10-22-2019 00:39
10-22-2019 00:39
I just answered this in another post, but here it is for reference.
You can get a date picker using the <TextInput> in the index.jsx file in Settings. Just add the type="date" attribute.
Also, just for reference, here are other types, but just know, not all of them are supported by Fitbit.
<TextInput
label="Day"
title="Day input"
settingsKey="day"
type="date" />
10-22-2019 01:21
10-22-2019 01:21
Awesome , thanks James.