1
0
Fork 0
mirror of synced 2024-10-03 10:36:59 +13:00

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

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",