microsoft / microsoft/AdaptiveCards
[Rendering] Bug Title Here Min Max for Input.Date not working on Teams Desktop
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 2k
- Forks
- 595
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 1
Description
Target Platforms
Other
SDK Version
desktop Teams version 25094.310.3616.953
Application Name
Microsoft Teams
Problem Description
Adaptive Card Input.Date fields with min and max constraints are not consistently enforced across Microsoft Teams. In Teams Desktop, the min/max values are either ignored or can be overridden via manual input. In Teams Mobile (Android/iOS), they work as expected.
Screenshots
Card JSON
{
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"type": "AdaptiveCard",
"version": "1.4",
"body": [
{
"type": "TextBlock",
"text": "Select a start date:"
},
{
"type": "Input.Date",
"id": "startDate",
"value": "2025-05-08",
"min": "2025-05-03",
"max": "2025-06-08"
},
{
"type": "ActionSet",
"actions": [
{
"type": "Action.Submit",
"title": "Submit"
}
]
}
]
}
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 with the provided Adaptive Card JSON and reproduce the Input.Date behavior in Teams Desktop, comparing it with the stated Android and iOS behavior. Done means the min and max values are consistently enforced in the desktop renderer, including when a date is entered manually.
Written by the indexing model from the issue text.
Assessment
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100