Open abhaygupta16 opened 1 year ago
Hi abhaygupta16! Thank you for bringing this issue to our attention. We will investigate and if we require further information we will reach out in one business day. Please use this link to escalate if you don't get replies.
Best regards, Teams Platform
Thank you for reporting this, we will check this and get back to you.
We are also able to repro this issue at our end. We also see that min value of Date and time are not reflecting in Web. We are able to select previous date and time.
We have raised a bug for the same. We will keep you posted on the updates. Thank you.
I m using Adaptive card v1.4 and bot framework sdk v4 in .NET. i have a use case where card to displayed to user which has date field, time field, Description field and a Schedule button. both date and time fields are required.
i m facing the problem with Input.Date element of adaptive card in deployed teams channel. Issue is when we select any date in the date field and if we click on the cross button of date field and remove the date and click on schedule button we should get the required error message validation of the date field. where as i m getting the previously selected date which is not the correct scenario. how can we resolve this issue.
here is the json of adaptive card. { "type": "AdaptiveCard", "version": "1.4", "msTeams": { "width": "Full" }, "body": [ { "type": "ColumnSet", "columns": [ { "type": "Column", "items": [ { "type": "Input.Date", "id": "reminderDate", "value": "{DateTime.UtcNow.ToLocalTime():yyyy-MM-dd}", "min": "{DateTime.UtcNow.ToLocalTime():yyyy-MM-dd}", "label": "Date", "isRequired": true, "errorMessage": "Please enter Date", "validation": { "nudgable": true, "validateOn": "blur", "min": "2023-05-28", "errorMessage": "Please select a future Date" } } ], "width": "stretch" }, { "type": "Column", "items": [ { "type": "Input.Time", "id": "reminderTime", "value": "", "min": "{DateTime.UtcNow.ToLocalTime:HH:mm}", "placeholder": "select time", "label": "Time", "isRequired": true, "errorMessage": "please enter time", "validation": { "nudgable": true, "validateOn": "blur", "min": "{DateTime.UtcNow.ToLocalTime():HH:mm}", "errorMessage": "Please select a future time" } } ], "width": "stretch" } ], "spacing": "medium" }, { "type": "Input.Text", "id": "reminderDetails", "label": "Description", "isMultiline": true, "placeholder": "Type Here (100 Characters Max)", "errorMessage": "Please enter Detail", "maxLength": 100, "spacing": "large" }, { "type": "ColumnSet", "columns": [ { "type": "Column" }, { "type": "Column", "width": "auto", "items": [ { "type": "ActionSet", "actions": [ { "type": "Action.Submit", "id": "scheduleButton", "style": "positive", "data": { "remindersubmitted": 1 }, "title": "Schedule" } ], "horizontalAlignment": "Right" } ] } ] } ], "$schema": "http://adaptivecards.io/schemas/adaptive-card.json" }