77
Views
9
Comments
Solved
[OutSystems UI] Date Picker - Dropdown as in Outsystems UI Web
outsystems-ui
Reactive icon
Forge asset by OutSystems
Application Type
Reactive

Hello,

There is a way to make the dropdown for months and years as we have in Outsystems UI Web?

https://outsystemsui.outsystems.com/WebStyleGuidePreview/DatePicker.aspx

Thanks, Paulo Torres

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

Hi @Paulo Torres 

If the library doesn't have an option for that, there's no way at this point to achieve that and, from a product standpoint, based on feedback from UX teams that is not the way we want to go. Sorry for not being able to unblock you on this, but unfortunately to have that you need to create your own date picker.

Cheers,
GM

2024-06-01 07-14-16
Vaishali Thakur

Hello @Paulo Torres Of course, another way to create a date or years dropdown is by using JavaScript, but in JavaScript you will also have to enter data for the dropdown, which will take a lot of work, if you are working on low code, then you should use OutSystem UI drop-down. 


Thank you 

2023-08-28 07-00-10
Paulo Torres
Champion

Hello,

If you see what I sent is not a really dropdown. I know I can ccreate a custom DatePicker but I want to know if the Outsystems have any workaround for that!

Thanks

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

Hello @Paulo Torres 

Did you get the chance to look into Flatpickr documentation?
If so, can you show which properties you want to manipulate?
Remember that these components are based on that library so if it doesn't offer that it's not possible to do it on the component (out of the box we don't have a way even that from a UX point of view is not the best apporach).

Cheers,
GM

2022-05-02 13-50-49
Paulo Ritto

Hi Paulo,

Looking at the flatpickr feature request here:
https://github.com/flatpickr/flatpickr/issues/269

 it seems they have built it so that you can also select months also, instead of days (which is what I think the widget MonthPicker from OutsystemsUI does and is based off).

However for selecting Years, I don't think they have it (at first sight...)


Cheers,

Paulo

2024-06-01 07-14-16
Vaishali Thakur

Hey @Paulo Torres now I understood what you want 😊 I liked your question, we should work on it, maybe we can get some better output for future users. 

Thanks 

2023-08-28 07-00-10
Paulo Torres
Champion

Hi @Paulo Ritto,

Thanks for your answer. Yes, you are right. Only exists month select plugin.

Thanks, Paulo Torres


2023-08-28 07-00-10
Paulo Torres
Champion

Hi @Gonçalo Martins ,

Thanks for your answer.

Looking for the documentation it seems the library doesn't have what I'm looking for and it seems we can use month select plugin in MonthPicker, there is no option to have this month selector in DatePicker. Or do you know someway to do it?

Thanks, Paulo Torres

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

Hi @Paulo Torres 

If the library doesn't have an option for that, there's no way at this point to achieve that and, from a product standpoint, based on feedback from UX teams that is not the way we want to go. Sorry for not being able to unblock you on this, but unfortunately to have that you need to create your own date picker.

Cheers,
GM

2023-08-28 07-00-10
Paulo Torres
Champion

Hi @Gonçalo Martins,

Yes, I understand and you are fully right. Thanks for your quick feedback, as usual :)

Thanks, PT

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