-
Notifications
You must be signed in to change notification settings - Fork 378
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
fix: Adds validation for form dialogs propery name #4574
Conversation
@@ -2,3 +2,5 @@ | |||
// Licensed under the MIT License. | |||
|
|||
export const jsPropertyListClassName = 'jsPropertyListClassName'; | |||
|
|||
export const nameRegex = /^[a-zA-Z0-9-_]+$/; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see this in the SDK schema for AgeEntityRecognizer. I wonder if the sdk schema should define a pattern for a valid property name rather than string? Or maybe this is too meta for a JSON schema.
"$kind": {
"title": "Kind of dialog object",
"description": "Defines the valid properties for the component you are configuring (from a dialog .schema file)",
"type": "string",
"pattern": "^[a-zA-Z][a-zA-Z0-9.]*$",
"const": "Microsoft.ActivityTemplate"
},
* settingsPage: (110 commits) code style update qna end point key after update qna subscription key handle comments handle comments chore: remove orchestrator (microsoft#4602) feat: taking control recognizer generation enhancements (microsoft#4549) chore: Set up Nightly static analysis pipeline in ADO (microsoft#4589) feature: show multi-skill project with correct link behavior (microsoft#4466) doc: guidelines/help-contents (microsoft#4354) Functions runtime: Revert to netcore3.0 for functions and make code more robust to functions variations (microsoft#4570) feat: Disable Connect to Skill menu action inside skill (microsoft#4557) fix (microsoft#4591) fix: Adds validation for form dialogs propery name (microsoft#4574) fix: update archive version in extensions/vacore (microsoft#4571) fix: e2e test (microsoft#4581) perf: avoid redraw when Project Tree selected item not changed (microsoft#4564) fix: security analysis failure due to bl package version (microsoft#4580) fix publish ut timeout (microsoft#4578) fix: Can not add properties in "SetProperties" action (microsoft#4572) ci: remove code scanning workflow (microsoft#4569) ...
* Adds validation for form dialogs propery name * fix start over name * updatd strings Co-authored-by: Soroush <sorgh@microsoft.com>
Description
As per Melanie's request, this PR adds property name validation to the form dialog property names.
Task Item
#minor
