401
Views
9
Comments
Need a way to select only Year
Application Type
Traditional Web

Hi All,

I want a way to present only year part in a date picker or a other forge component to select. It should only show year for selection and the other parts. Like below :

Could anyone please help me with this.


Thanks and Regards

Dhanashri Jaiswal

2024-01-31 05-29-41
Akshay Deshpande

Hello dhanashri J,

if we do some customization then it will possible in datepicker else you will used this forge component

https://www.outsystems.com/forge/component-overview/10919/yearpicker

Thanks and Regards,

Akshay Deshpande

2023-01-09 11-00-40
Dhanashri Jaiswal

Hi Akshay,

The forge component which you have mentioned is for reactive web applications and I need one for traditional web application.


Thanks

Dhanashri

2023-12-14 09-56-57
Yogesh Javir

hey @Dhanashri Jaiswal 

I will suggest to add formate on datepicker as "YYYY" so it will only show years inside it.

Please try this and let me know if work or not.

Thanks

Yogesh

2023-01-09 11-00-40
Dhanashri Jaiswal

Hi Yogesh,

The solution provided by you will change the format of the date after you select it from the date picker.

I want the picker itself to show the year selection.


Thanks

Dhanashri

2023-12-14 09-56-57
Yogesh Javir

I got your concern and implemented one demo, somehow some glitch are perform so its  need some time to handle it.

sample (personal-dt37vy6p.outsystemscloud.com) 

please check it.

Thanks

Yogesh

2023-01-09 11-00-40
Dhanashri Jaiswal

Hi Yogesh,

How did you implement it?

Is it for Traditional web application and Could you please share the .oml file with me.


Thanks 

Dhanashri

2023-12-14 09-56-57
Yogesh Javir

yes, it is in traditional but before release my code i want to host as forge component so you and other can take advantages of component.

Thanks

Yogesh

2023-01-09 11-00-40
Dhanashri Jaiswal

Hi Yogesh,

By when can you host this component?

As I need this functionality urgently for my project.


Thanks

Dhanashri

2023-12-14 09-56-57
Yogesh Javir

Hi @Dhanashri Jaiswal ,

Component is live now. You may experience it. if it is as per your requirement then go with it else please add feedback to i can work on in.

link :Only Year In Datetime Picker - Overview | OutSystems 

Thanks

Yogesh

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