Skip to content

ChoicePrompt takes numbers as result inside user response #3039

@cocoke

Description

@cocoke

Version

Bot Builder 4.3.2

Describe the bug

ChoicePrompt recognizer consider numbers as result inside user response containing multiple word

To Reproduce

Steps to reproduce the behavior:

  1. Create a ChoicePrompt
  2. Message the bot a question with a number inside like : "What is the first day of the week ?"
  3. It will set first choice of the list as recognized

Expected behavior

If the user sentence contains multiple word, the recognizer should not consider the number as result

Additional context

I'm working with the french culture, it may be different in english

[bug]

Metadata

Metadata

Assignees

Labels

Bot ServicesRequired for internal Azure reporting. Do not delete. Do not change color.customer-replied-toIndicates that the team has replied to the issue reported by the customer. Do not delete.customer-reportedIssue is created by anyone that is not a collaborator in the repository.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions