618
Views
2
Comments
Solved
[OutSystems UI Web] How to specify DatePicker options
Question
outsystems-ui-web
Web icon
Forge asset by OutSystems

If you specify a character string (eg "{beginEmpty: true}") other than "{}" in AdvancedFormatJSON of AdvancedFormat of DatePicker web block, the calendar will not pop up.


How can I describe the AdvancedFormatJSON property?

Best regards

UserImage.jpg
Takahisa Oda
Solution

Hi Eduardo,

Thanks for your reply.


It seems the problem was dependent on SilkUI.

I made it only if I changed the dependency to Outsystem UI Web, it worked.

2020-02-28 09-46-54
Eduardo Jauch

Hi Takahisa, welcome to the Forum.

You can set it here:

You can click the + (plus) sign and it will expand to show two properties, EventsList and AdvancedFormatJSON, that is a text attribute, so you can set your format using a text variable or a text literal (between double quotes "").

Regarding the possible options, you can take a look here: https://github.com/Pikaday/Pikaday.

Example: 

"{
setDefaultDate:false
}"

Hope this help.

Cheers.


UserImage.jpg
Takahisa Oda
Solution

Hi Eduardo,

Thanks for your reply.


It seems the problem was dependent on SilkUI.

I made it only if I changed the dependency to Outsystem UI Web, it worked.

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