Closed
Description
Version
4.12.0
Describe the bug
In the AttachmentPrompt class, the prompt.input_hint is set as expecting_input replacing any value the user could set.
This behavior is not present in either .NET or JS SDKs.
To Reproduce
Steps to reproduce the behavior:
-
Using the sample: 05.multi-turn-prompt:
- Open dialogs/user_profile_dialog.py file.
- Add the following line to the imports section
from botbuilder.schema import InputHints
. - Update picture_step method adding
input_hint=InputHints.accepting_input
to the message as can be seen below:
- Save the changes.
- Open the console in the bots folder and run the following commands:
- python -m pip install -r requirements.txt
- python app.py
-
Open BotFramework Emulator and connect to your bot.
-
Follow the dialog flow until the profile picture step.
-
See the activity in the Inspection panel and check the value of the inputHint property.
Expected behavior
The bot should send the activity with the inputHint property that was set for the message in the prompt options.