AdaptiveCards icon indicating copy to clipboard operation
AdaptiveCards copied to clipboard

[MSTeams][Input.Time] Input.Time property is allowing user to enter text.

Open Chekrii opened this issue 6 years ago • 6 comments

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

Alarm

Chekrii avatar Jan 10 '20 10:01 Chekrii

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!

shalinijoshi19 avatar Jan 10 '20 13:01 shalinijoshi19

We have acknowledged this issue report. Please continue to follow the issue for updates/progress/questions. @matthidinger / @dclaux / @rebeccaanne / @paulcam206 FYI.

ghost avatar Jan 10 '20 13:01 ghost

Hello, Any update on this.

Chekrii avatar Jan 16 '20 14:01 Chekrii

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.

susanshen96 avatar Jan 16 '20 22:01 susanshen96

@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!

shalinijoshi19 avatar Feb 10 '20 19:02 shalinijoshi19

We are using Input.Time property in bot and It is not showing 24 hours time format.

TejaReddy0226 avatar Mar 27 '20 09:03 TejaReddy0226