-
Notifications
You must be signed in to change notification settings - Fork 304
Closed
Labels
Area: SDKGeneral SDK issues that don't clearly map to other areas (e.g.: helper methods)General SDK issues that don't clearly map to other areas (e.g.: helper methods)ExemptFromDailyDRIReportUse this label to exclude the issue from the DRI report.Use this label to exclude the issue from the DRI report.Team: SouthworksbugIndicates an unexpected problem or an unintended behavior.Indicates an unexpected problem or an unintended behavior.needs-triageThe issue has just been created and it has not been reviewed by the team.The issue has just been created and it has not been reviewed by the team.
Milestone
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_inputto 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.
Metadata
Metadata
Assignees
Labels
Area: SDKGeneral SDK issues that don't clearly map to other areas (e.g.: helper methods)General SDK issues that don't clearly map to other areas (e.g.: helper methods)ExemptFromDailyDRIReportUse this label to exclude the issue from the DRI report.Use this label to exclude the issue from the DRI report.Team: SouthworksbugIndicates an unexpected problem or an unintended behavior.Indicates an unexpected problem or an unintended behavior.needs-triageThe issue has just been created and it has not been reviewed by the team.The issue has just been created and it has not been reviewed by the team.