Microsoft.ConfirmInput doesn't show the prompt text in teams
See original GitHub issueVersion
4.17.2
Describe the bug
When using a Microsoft.ConfirmInput
the prompt text is not shown.
On inspection it is because the method AppendChoices
is setting prompt.Text
to null.
To Reproduce
Add a Microsoft.ConfirmInput
and test it on a teams bot:
{
"$kind": "Microsoft.ConfirmInput",
"$designer": {
"id": "tLL1Si"
},
"defaultLocale": "en-us",
"disabled": false,
"maxTurnCount": 3,
"alwaysPrompt": false,
"allowInterruptions": false,
"prompt": "please confirm",
"unrecognizedPrompt": "",
"invalidPrompt": "",
"defaultValueResponse": "",
"choiceOptions": {
"includeNumbers": true
}
}
Expected behavior
It should show the prompt text and yes/no buttons.
Screenshots
It only shows the yes/no buttons:
It should look like this (to workaround it I manually set the activity text value after the call to AppendChoices
inside ConfirmInput.OnRenderPromptAsync
):
Additional context
Thanks!
Issue Analytics
- State:
- Created a year ago
- Comments:7
Top Results From Across the Web
Issues with Microsoft Authenticator not popping up ...
I tried to download the MS Authenticator App on my new phone but it's not showing any Approval Alert nor Authentication code. Please...
Read more >Text entry problem
I have a text entry problem in that I cannot input text from my keyboard or the touchscreen keyboard. They are not unresponsive....
Read more >Troubleshoot your Microsoft Teams app
Troubleshoot issues or errors while building apps for Microsoft Teams.
Read more >Spell check not working on Microsoft Teams desktop
I have an office365 account and I am running the desktop version of Microsoft Teams on Windows 10. Spell check is not working....
Read more >Enable text suggestions in Windows
Use text suggestions to quickly complete words as you type a document, ... In the Typing menu, turn on the Show text suggestions...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Closing due to lack of response and unable to reproduce. If you can please share a sample or exact steps on how to reproduce, we will reopen and continue.
Hi @jamesemann I am unable to reproduce this yet. There are a few more things I need to try but am hitting some stumbling blocks on my end. I will update when I have more info.