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?
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
Just add this attribute.
For reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/month
Hi gonçalo veiga ,
It's working But Date Not saved in DB
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.