none
The default value of "Date" input in Adaptive Card is always showing today as the date, which is unexpected. RRS feed

  • Question

  • When I tested the date input from adaptive card designer, the default value shows mm/dd/yyyy when user doesn’t select anything, which is correct. Here is the body of payload:

    {
    ...
    "body": [
    {
    "type": "TextBlock",
    "text": "Date Input"
    },
    {
    "type": "Input.Date",
    "id": "date123",
    "placeholder": "Enter a date"
    }
    ],
    ...
    }

    However, when I tested above payload in our real case from outlook web application on Mac, I saw the date input value was always automatically selected "Today" as the date by default, which is unexpected. Is this a product defect? Any suggestions on how to show  mm/dd/yyyy or empty value for date input by default? Thanks in advance!

    Monday, July 27, 2020 9:37 PM