We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b060477 commit 96ec27eCopy full SHA for 96ec27e
src/features/dfdElements/editLabelValidator.ts
@@ -36,6 +36,11 @@ export class DfdEditLabelValidator implements IEditLabelValidator {
36
return { severity: "error", message: "Input name cannot contain spaces" };
37
}
38
39
+ // Labels on edges are not allowed to commas in them
40
+ if (value.includes(",")) {
41
+ return { severity: "error", message: "Input name cannot contain commas" };
42
+ }
43
+
44
// Labels on edges are not allowed to be empty
45
if (value.length == 0) {
46
return { severity: "error", message: "Input name cannot be empty" };
0 commit comments