set only years packed date | Community
Skip to main content
September 22, 2019

set only years packed date

  • September 22, 2019
  • 2 replies
  • 3514 views

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?

Thanks

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

Adobe Employee
September 22, 2019

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

Documentation | CoralUI

Adobe Employee
September 23, 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.

arunpatidar
Community Advisor
Community Advisor
September 24, 2019

Hi,

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

  1. date
  2. datetime
  3. time
Arun Patidar