Add validation to default form step button actions
This commit is contained in:
parent
ee452f75fe
commit
368b227086
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue