i have data picker date time and i want to select just year how i can?
Hi Moheman,You can use the below component:https://www.outsystems.com/forge/component-overview/10919/yearpickerHope this helpsKshitij Raheja
i don't want download new component i need anther solution
Hello,
I don't think that's possible with the DatePicker pattern. But if you want the user to select only a year, then maybe it doesn't even make sense to use a DatePicker. Wouldn't using a simple dropdown will the years make more sense?
Hi
you can set the format in date picker which you want to set .
but you have to select date for that
result-
or as @Kshitij Raheja suggested try to download that forge component. or
i can suggest you to create by default year list in oninitialize action and assign the values into the drop down
hope this will help
Regards,
Prince
take help from the oml for dynamic year list.