1128
Views
5
Comments
Solved
Only Month and Year picker using Default OutSystems Date Picker

Hi All,

I have been trying to use the original date picker and disable any day picker (ie. only show the month and year available on the current standard picker):


I am able to change the format to only capture the month and year but the user is still presented with the day picker as they open the widget:

I have tried looking at the Pickaday documentation but I am not sure there is an easy way to just have the month and year views enabled.

Any ideas/suggestions?

2020-05-07 18-53-00
Rui Barradas
 
MVP
Solution

Hi André,

Do you really need to use the default OutSystems Date Picker?

Maybe you can try a Forge component instead.


For a Reactive Web Application, you can try this one:

https://www.outsystems.com/forge/component-overview/7998/simple-month-calendar-reactive


For a Traditional Web Application, you can try this one:

https://www.outsystems.com/forge/component-overview/6203/monthpicker


Kind regards,

Rui Barradas

UserImage.jpg
nilesh surve
I want for mobile application
UserImage.jpg
gonçalo veiga
2025-09-30 05-07-45
SreenivasuluReddy Lingala

Hi gonçalo veiga ,

It's working But Date Not saved in DB

2019-09-27 15-19-12
Ulises Amaya

The answer from gonçalo veiga works, but you need to make sure that the variable associated to the date picker is of type TEXT, instead of Date. Then if you need to save it in your DB as a date just use the TextToDate() function.

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