[OutSystems UI Web] How to specify DatePicker options

Forge Component
(34)
Published on 8 Jul (8 days ago) by OutSystems R&D
34 votes
Published on 8 Jul (8 days ago) by OutSystems R&D

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

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.


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.

Solution