How I can show only Months and Years combobox?

Hi Folks,
Greetings!

I would like to show Years and Months only without displaying days. When I would tapped  on Year then there show Year list and from the list I select any year. Same for Month like Year.

Is there any direct option to implement this or I need to create custom?


Solution

Hi Meer,


I don't think you'll find anything ready to do that, but the implementation is simple.

You can create a static entity for months.

And for the year, so you don't have to create an entity to save the years, you can create an action that returns a list of years based on a start year and end year.

Like this:
https://www.outsystems.com/forums/discussion/22997/how-to-display-year-in-combo-box-from-1905-to-current-year/#Post90431


Regards

Solution

Pedro Costa wrote:

Hi Meer,


I don't think you'll find anything ready to do that, but the implementation is simple.

You can create a static entity for months.

And for the year, so you don't have to create an entity to save the years, you can create an action that returns a list of years based on a start year and end year.

Like this:
https://www.outsystems.com/forums/discussion/22997/how-to-display-year-in-combo-box-from-1905-to-current-year/#Post90431


Regards

Hi Pedro Costa,
Thanks for your reply!

I got this logic, I can implement it easily.

Thanks for support (y)