Closed mannd closed 7 years ago
It does using the attributes
property
{
"type": "input",
"label": "date",
"attributes": {
"type": "date"
}
},
{
"type": "input",
"label": "time",
"attributes": {
"type": "time"
}
}
Does this just interpret the text input as a date or time? Or does the control appear as a date or time picker if these attributes are set?
On Aug 9, 2016, at 4:38 PM, Keegan Lillo notifications@github.com wrote:
It does using the attributes property
{ "type": "input", "label": "date", "attributes": { "type": "date" } }, { "type": "input", "label": "time", "attributes": { "type": "time" } } https://github.com/pebble/clay#input https://github.com/pebble/clay#input — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/pebble/clay/issues/133#issuecomment-238714104, or mute the thread https://github.com/notifications/unsubscribe-auth/AAB4KpcVfdmeo-xEAaueFjZ3jslgeBCkks5qeQFWgaJpZM4JgkuA.
The OS will show native controls.
A date-time picker is available for pebble/slate. I am unable to migrate my config to clay because of the lack of a date-time picker. Would be nice to add this control to clay.