microsoft / microsoft/AdaptiveCards
Input.Date min/max constraints not enforced in Outlook Mobile
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 2k
- Forks
- 595
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 1
Description
Target Platforms
iOS
SDK Version
Outlook version: 4.2515.0, Adaptive Card version: 1.0
Application Name
Microsoft Outlook Moobile
Problem Description
When using Input.Date in an Adaptive Card (v1.0 for Outlook), the min and max constraints are respected in Outlook Desktop, but not enforced on Outlook Mobile.
Details:
Users can select or manually enter dates outside the allowed range even when min and max are defined.
This leads to potential submission of invalid or unsupported values, causing confusion or backend validation failures.
This behavior breaks consistency between platforms and deviates from expected Adaptive Card spec behavior.
Screenshots
No response
Card JSON
{
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"type": "AdaptiveCard",
"version": "1.0",
"originator": "<<ActionableEmailRegistrationId>>",
"hideOriginalBody": true,
"body": [
{
"type": "TextBlock",
"text": "Please select a start date"
},
{
"type": "Input.Date",
"id": "startDate",
"value": "2025-05-08",
"min": "2025-05-03",
"max": "2025-06-08"
},
{
"type": "Container",
"id": "353b659f-b668-fac0-5b7f-5d2f1bdb46ac",
"padding": "Default",
"items": [
{
"type": "ActionSet",
"actions": [
{
"type": "Action.Http",
"title": "Approve",
"method": "POST",
"url": "<<ActionEndpoint>>",
"headers": [
{
"name": "Content-Type",
"value": "application/json"
},
{
"name": "x-ms-action-prop-ActionType",
"value": "CSPDeliveryPlanApproveActionUAT"
}
],
"body": "{ \"startDate\": \"{{startDate.value}}\" }",
"isPrimary": true,
"style": "positive"
}
]
}
],
"spacing": "None",
"separator": true
}
],
"padding": "15px"
}
Sample Code Language
No response
Sample Code
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the supplied Adaptive Card JSON with Input.Date on Outlook Mobile for iOS, using the stated Outlook and Adaptive Card versions. Compare its min/max behavior with Outlook Desktop and inspect the mobile Input.Date handling. Done means dates outside 2025-05-03 through 2025-06-08 cannot be selected or submitted.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 32/100