08-05-2021 19:36
08-05-2021 19:36
Hello,
Now that I am getting the data to move around successfully, I am working on the edit page of my migraine project.
Most of the fields are textInput() objects. I have gotten the following to work...
<TextInput
...
type="Text" //This works, but is probably unnecessary as it is the
//default anyway.
type="Number" //This works and brings up a number pad
...
/> What I am wondering is, what are the other supported types? I would love to get a date picker going, but may be interested in others as well. I tried using typical javascript types, and Date did not work.
It seems that you can create custom types as well (when you use an unsupported type, you get an empty dropdown), but am not sure how to do that (or whether that is necessary).
Best Answer08-11-2021 07:36
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.
08-11-2021 07:36
It's based on JSX, so some other types might work, but ymmv. Date/Time isn't implemented afaik.
Best Answer