Date picker

A date picker allows you to select a date in an app card. Use it to set deadlines, or log events. The app captures the selected date for further actions.

Example

Example

JSON example

{
    "content": {
        "settings": {},
        "body": [
            {
                "type": "section",
                "layout": "horizontal",
                "sections": [
                    {
                        "type": "message",
                        "text": "This is a section block with datepicker"
                    },
                    {
                        "type": "datepicker",
                        "action_id": "datepicker_action",
                        "initial_date": "2010/10/10"
                    }
                ]
            }
        ]
    }
}