418
Views
3
Comments
how to display only year in datepicker reactive
Application Type
Reactive
Service Studio Version
11.53.17 (Build 61327)

Hi All,


I have an entity attribute name year which is of integer type.

currently i display the value from a record in input widget to show the year in number format.

so i want it to display only year in date picker now, could anyone help me how to solve this.

i tried changing the data type of input widget to date but since the attribute is of integer im not able to convert it.


is there any other solution? please do let me know.



2021-08-04 12-19-54
Mayank Dharmpurikar
2022-07-06 08-57-52
AKIL G

Hi @Mayank Dharmpurikar 


thank you for the response, is there any other alternative other than the forge component.

like in the input widget cant we modify anything to year only format? setting the data type to date and passing a local variable? like converting the integer value to date and then pass the value to date picker?



2025-10-18 11-13-53
Ramesh subramanian

Hey AKIL G,

please check this link, you will get some idea. 

https://www.outsystems.com/forums/discussion/62425/date-picker-year-selection/


thanks,

Ramesh

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.