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

set only years packed date

eugzl
Level 5
Level 5

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

3 Replies
hamidk92094312
Employee
Employee

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

Documentation | CoralUI

jbrar
Employee
Employee

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.

Arun_Patidar
Community Advisor
Community Advisor

Hi,

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

  1. date
  2. datetime
  3. time