set only years packed date | Community
Skip to main content
Level 5
Sep 22, 2019 2:56 PM UTC

set only years packed date

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.

3 replies

arunpatidar
New Participant
Sep 24, 2019 2:53 PM UTC

Hi,

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

  1. date
  2. datetime
  3. time
Translate
Arun Patidar
Employee
Sep 22, 2019 10:28 PM UTC

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

Documentation | CoralUI

Translate
Employee
Sep 23, 2019 11:52 AM UTC

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.

Translate