145
Views
3
Comments
Solved
[OutSystems UI] MonthPicker - Month Static Entity Id should be order instead of name of month
outsystems-ui
Reactive icon
Forge asset by OutSystems
Application Type
Reactive

Since the Month Picker uses the structure 'MonthYear' it makes it hard to convert dates. This could be fixed by changing the identifier of the Static Entity 'Month', so for January the identifier would be 1 instead of 'January'. The would result in being able to build a 'MonthYear' by using Month(CurrDate()) and Year(CurrDate()).

Even better a Date object should be returned in the Month Picker OnSelected event meaning you would not need the  Static Entity 'Month' nor the structure 'MonthYear'.

2022-11-12 11-28-30
Gonçalo Martins
Staff
Solution

Hello @Sebastian Lund 

Happy New Year first of all. Just to close this thread, I would like to inform you that this was released in version 2.13.0.

Cheers,
GM

2022-07-19 16-56-14
Giuliana Silva
Staff

Hi Sebastian!


Thanks for bringing this subject to the discussion. As a workaround, can you please try to use GetMonth of the Month entity to get the "Order" attribute that correspond to the month number.

We will discuss internally your suggestion and since this is a new component we will wait for more feedback.


Best regards,

Giuliana.


2022-11-12 11-28-30
Gonçalo Martins
Staff

Hi @Sebastian Lund 

First of all, thank you for your great feedback.
We are reviewing this and in the next release, we'll improve this behaviour.
You will be able to find the changes in the release notes under the code ROU-3951 once we release the next version in mid-December.

Cheers,
GM


2022-11-12 11-28-30
Gonçalo Martins
Staff
Solution

Hello @Sebastian Lund 

Happy New Year first of all. Just to close this thread, I would like to inform you that this was released in version 2.13.0.

Cheers,
GM

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