Date picker with time in Adaptive Form

Avatar

Avatar

sureshp23286254

Avatar

sureshp23286254

sureshp23286254

23-03-2020

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Avatar

Avatar

vanegi

Employee

Avatar

vanegi

Employee

vanegi
Employee

13-07-2020

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...]