121
Views
3
Comments
Input date only accept year and month
Question

i have one input that receive date value as yyyy/mm/dd, but i need it only store year and month value as yyyy/mm

UserImage.jpg
Kay Lun

Hi Tuyen,

Have you try this forge component yet ?

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

This might fit what your need.

Or another way would be using the dateFormat option to set with the date picker component

But you need to handle the selected value with a screen action to only keep the year and month by yourself.

Hope this help :)

UserImage.jpg
tuyenhx

thanks for your answer, but i need the component that's supported by the Outsystem itself, my boss won't be happy if i install any outside component.

2023-04-16 15-25-31
Krishnanand Pathak

Hi Tuyen,

You can use MonthPicker Provided by OutsystemsUI



You can check the demo to see how it will work through below link.
https://personal-qmzjggmd.outsystemscloud.com/Com/Screen19?_ts=638200194946871621

Oml is also attached for reference

Regards
Krishnanand Pathak

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