[MSTeams][Input.Time] Input.Time property is allowing user to enter text.
Platform
- .NET
- Bot Framework V4
Author or host
- Ms Teams
Hi,
We are using Input.Time property in bot but this property is allowing user to enter text and It is not showing 24 hours time format.
Please help with this.
Thanks
Thanks for reporting this @Chekrii . @siduppal this appears to be a Teams issue I think? I just doublechecked the (AC designer)[https://adaptivecards.io/designer] as well as the UWP visualizer and we are correctly not allowing the Input.Time field to accept free-form input. Could you help investigate this one please? Thanks!
We have acknowledged this issue report. Please continue to follow the issue for updates/progress/questions. @matthidinger / @dclaux / @rebeccaanne / @paulcam206 FYI.
Hello, Any update on this.
Hi @Chekrii - Teams employs a custom renderer for Input.Time, and in order to align with time input fields in other places on Teams - like creating a meeting - we're using text input for the time HTMLElement. We may tweak the logic a little so that the field clears out/reverts to the default time if there's an invalid value in the field, but so far, we don't have plans to disallow users from typing in random text.
@Chekrii please refer to the response from @susanshen96 from the Teams team. I am closing this out for now. Please feel free to reopen should you have additional follow up's. Thanks!
We are using Input.Time property in bot and It is not showing 24 hours time format.