Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Microsoft.ConfirmInput doesn't show the prompt text in teams

See original GitHub issue



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.


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


Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:7

github_iconTop GitHub Comments

dmvtechcommented, Nov 14, 2022

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.

dmvtechcommented, Nov 2, 2022

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found