Highlighted

set only years packed date

Avatar

Avatar

eugzl

Avatar

eugzl

eugzl

22-09-2019

Hi All.

Does it possible to restriction picked date in date field that only years will display. How it to do If that is possible?

AEM_Years.PNG

Thanks

Replies

Highlighted

Avatar

Avatar

hamidk92094312

Employee

Avatar

hamidk92094312

Employee

hamidk92094312
Employee

22-09-2019

Are you referring to Coral Datepicker ? Could not see anything in the documentation.

Documentation | CoralUI

Highlighted

Avatar

Avatar

jbrar

Employee

Avatar

jbrar

Employee

jbrar
Employee

23-09-2019

You can overlay "/libs/granite/ui/components/coral/foundation/form/datepicker/render.jsp" and change it as per your business need as this contains the logic for the rendering of datetpicker.

Highlighted

Avatar

Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831

Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831
Arun_Patidar
MVP

24-09-2019

Hi,

Not possible out the box, Only a few types are available for date picker.

  1. date
  2. datetime
  3. time