91
Views
4
Comments
Solved
[OutSystems UI] [OutSystems UI] Datepicker - Clear Date
outsystems-ui
Reactive icon
Forge asset by OutSystems
Application Type
Reactive

Hi, Everyone.

I have problem using Datepicker to clear the input date, currently I'm using Datepicker (OutsytemsUI) as my current project needs a clear button inside the calendar. My question is why Datepicker in Form has clear date function compare to Datepicker in OSUI. Why they are different from each other and what do I need to do to makesure I could accomplish this feature?  Thank you!


Datepicker (Form)


Datepicker (OutystemsUI - Interaction)



2021-04-12 11-47-04
Bart Nooijens
Solution

Hi @Askeladd,

Ah, I misread your initial question. Sorry for that. The DatePicker element is using Flatpickr as the underlying library. You could use the 'SetFlatpickrConfigs' client action in OutSystems UI to set additional configs. Here you can check the available options. I already did a quick check and can't see the option you are looking for. So I am not sure if this is available out-of-the-box.

Also, don't forget to like this idea.

Best regards,

Bart


2021-04-12 11-47-04
Bart Nooijens

Hi @Askeladd,

Are you sure you are using the DatePicker widget from OutSystems UI?  The screenshot you are showing looks like a default input field set with Date as Input Type. Also, make sure to check out the available DatePicker actions in OutSystems UI. 

Also, it could be that that you are using a different version of OutSystems UI.

Best regards,

Bart

2022-07-11 07-38-06
Askeladd

Hi @Bart Nooijens,
Yes, I'm sure. Currently using OS11. The first one is input field. The second one is Datepicker from OSUI. I'm aware with the Datepicker (Clear Date) in client action OSUI. But, I want the same feature of clear date in input field. Thank you for your response!

2021-04-12 11-47-04
Bart Nooijens
Solution

Hi @Askeladd,

Ah, I misread your initial question. Sorry for that. The DatePicker element is using Flatpickr as the underlying library. You could use the 'SetFlatpickrConfigs' client action in OutSystems UI to set additional configs. Here you can check the available options. I already did a quick check and can't see the option you are looking for. So I am not sure if this is available out-of-the-box.

Also, don't forget to like this idea.

Best regards,

Bart


2022-07-11 07-38-06
Askeladd
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.