Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Sample Card][Input Validation / Regex] [Change Regex pattern] #5181

Closed
1 task
jwoo-msft opened this issue Dec 12, 2020 · 3 comments
Closed
1 task

[Sample Card][Input Validation / Regex] [Change Regex pattern] #5181

jwoo-msft opened this issue Dec 12, 2020 · 3 comments
Labels
Area-Inconsistency Bugs around renderer inconsistencies across different platforms Bug High Priority Resolution-Duplicate
Milestone

Comments

@jwoo-msft
Copy link
Member

Platform

What platform is your issue or question related to? (Delete other platforms).

  • Sample Cards

Details

https://github.com/microsoft/AdaptiveCards/blob/main/samples/v1.3/Scenarios/InputFormWithLabels.json

"label": "Your name (Last, First)",
"isRequired": true,
"regex": "^[A-Z](a-z)+ [A-Z](a-z)+( ([A-Z][a-z]+))*$",
"errorMessage": "Please enter your name in the specified format"

regex here makes no sense. especially the group, (a-z)+ since it matches literal 'a-z'.

@jwoo-msft jwoo-msft added the Bug label Dec 12, 2020
@ghost ghost added this to the 21.01 milestone Dec 12, 2020
@ghost ghost added the Area-Inconsistency Bugs around renderer inconsistencies across different platforms label Dec 12, 2020
@ghost
Copy link

ghost commented Dec 12, 2020

please review this issue for target Milestone, Inconsistencies & Priority upon triage.

@shalinijoshi19
Copy link
Member

Dup of #5201

@ghost
Copy link

ghost commented Jan 15, 2021

Hi @jwoo-msft! We've resolved this issue as a duplicate of the referenced issue per comments above. This issue will now be closed. Please feel free to track status with the isssue we've duplicated yours to. Thanks!

@ghost ghost closed this as completed Jan 15, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Inconsistency Bugs around renderer inconsistencies across different platforms Bug High Priority Resolution-Duplicate
Projects
None yet
Development

No branches or pull requests

2 participants