Question
Granite UI Time Field in AEM Dialog: How to Include Seconds Along with Hours and Minutes
I have a requirement to include hours, minutes, and seconds in a time field within a component dialog.
Currently, I’m using the following implementation:
<timeField
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/datepicker"
fieldLabel="Select Time"
name="./myTime"
required="{Boolean}true"
type="time"/>
The issue is that this field only allows selection of hours and minutes, but I also need to include seconds.
How can I modify this to support seconds as well?