Skip to content

Commit

Permalink
Merge pull request #2269 from abilpraju-aot/bugfix/validation-title
Browse files Browse the repository at this point in the history
updated payload of name
  • Loading branch information
arun-s-aot authored Oct 15, 2024
2 parents 65aa0e5 + 30cefb6 commit f02a4b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions forms-flow-web/src/components/Form/Item/Edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -433,10 +433,10 @@ const Edit = React.memo(() => {
);

const newPathAndName =
"duplicate-version-" + Math.random().toString(16).slice(9);
"duplicate-version-" + Math.random().toString(16).slice(9);
newFormData.path = newPathAndName;
newFormData.title = form.title;
newFormData.name = form.title;
newFormData.name = newPathAndName;
newFormData.componentChanged = true;
delete newFormData.machineName;
delete newFormData.parentFormId;
Expand Down

0 comments on commit f02a4b0

Please sign in to comment.