Add validation to default form step button actions

This commit is contained in:
Andrew Kingston 2023-12-08 16:52:49 +00:00
parent ee452f75fe
commit 368b227086
1 changed files with 6 additions and 0 deletions

View File

@ -281,6 +281,12 @@ export const buildMultiStepFormBlockButtonConfig = props => {
size: "M",
disabled: currentStep === stepCount - 1,
onClick: [
{
"##eventHandlerType": "Validate Form",
parameters: {
componentId: `${_id}-form`,
},
},
{
parameters: {
type: "next",