Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Date picker with time in Adaptive Form

sureshp23286254
Level 2
Level 2

Hi, 

Do we have Date picker component with Time to add to an Adaptive form.
I’ve looked into core components and we have only date picker but not time.

Also I’ve looked into Granite UI Components ( https://wcm.io/wcm/ui/granite/components.html ) which has date time resourceType but this is only for authoring or developing a dialog.

Could you please advice on how to show date time component on an adaptive Form. This data field
is mapped to datetime colum in database.

 

Thanks & Regards

  Suresh

1 Reply
vanegi
Employee
Employee

You can implement OOTB date picker component for this use case. Datepicker formats works in accordance to moment.js display formats [1]. Check [2] for more details.

 

[1] : http://momentjs.com/docs/#/displaying/

 

[2]: https://helpx.adobe.com/experience-manager/6-3/sites/developing/using/reference-materials/coral-ui/c...

 

DatePicker:-/libs/granite/ui/components/coral/foundation/form/datepicker [https://helpx.adobe.com/experience-manager/6-4/sites/developing/using/reference-materials/granite-ui...]