Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Date Picker for settings

I am trying to find a date picker for the setttings.js for my app. I've read through the available components here, https://dev.fitbit.com/build/reference/settings-api/#components, and have not been able to find anything. Does one exist or would I have to make my own?

Best Answer
2 REPLIES 2

Yes! I figured it out as I was looking for the same thing!

 

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" />

 

Best Answer
0 Votes

I’ve tried many things. It doesn’t work on my phone. It looks great on Fitbit studio.

1CF36351-3B3F-4494-9295-1CB901ED3F4A.jpeg

 This is what I see on my phone. The “arrow” doesn’t do anything.
Has anyone suggestions? Now I just use the “text” and “placeholder” but I’m not content with that.

Community Council MemberMario Dings | Rotterdam NL
Fitbit: Versa, Versa2, Sense. (Versa light) - Phone: Android. - Developer clockfaces.(Nederlands)
Best Answer