I’m seeing a weird issue.
When I add a dateTimePicker, the default model
is set to something like timePickerStart
. The input field is visible.
When I change it to my model "model": "event.timeStart"
and refresh the web page, the input field disappears.
If I wrap my model in curly braces "model": "{{event.timeStart}}"
the input field reappears … but, it won’t show my development data model.
Here’s my snippet:
{
"_NOTES": "TIME START",
"dateTimePickerOptions": {
"format": "h:mm a",
"stepping": 15
},
"format": "h:mm:ss a",
"label": "What time do we start playing music?",
"model": "event.timeStart",
"required": true,
"styleClasses": "text-sm text-gray-500 mt-0 md:mt-0 col-start-2 col-span-1 md:col-span-0",
"type": "dateTimePicker",
"validator": "required"
}
Pic proof