Skip to content

Commit

Permalink
Merge branch 'vnext' of https://github.com/EAVFW/QuickForm into vnext
Browse files Browse the repository at this point in the history
  • Loading branch information
KasperBaun committed Jun 7, 2024
2 parents 88856fd + ab9b822 commit 4031154
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,8 @@ function handleSubmit(submit: QuickFormSubmitDefinition, payload: any): SubmitMo
});

return {
text: schema?.title ?? submit?.text ?? "Submit QuickForm",
paragraph: schema?.description,
text: uiSchema["ui:label"] === false ? '': schema?.title ?? submit?.text ?? "Submit QuickForm",
paragraph: uiSchema["ui:label"] === false ? '' : schema?.description,
buttonText: submit?.buttonText ?? "Submit",
submitFields: submitFieldsArray,
submitUrl: submit.submitUrl,
Expand Down

0 comments on commit 4031154

Please sign in to comment.