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",
|
size: "M",
|
||||||
disabled: currentStep === stepCount - 1,
|
disabled: currentStep === stepCount - 1,
|
||||||
onClick: [
|
onClick: [
|
||||||
|
{
|
||||||
|
"##eventHandlerType": "Validate Form",
|
||||||
|
parameters: {
|
||||||
|
componentId: `${_id}-form`,
|
||||||
|
},
|
||||||
|
},
|
||||||
{
|
{
|
||||||
parameters: {
|
parameters: {
|
||||||
type: "next",
|
type: "next",
|
||||||
|
|
Loading…
Reference in New Issue