Skip to content

Commit fd6b041

Browse files
authored
Merge pull request #40 from 8base/fix-onsubmit
fix: add return result on submit
2 parents 8005fe9 + d16932f commit fd6b041

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/forms/src/Form.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,8 @@ const Form = ({
145145
// @ts-ignore
146146
onSuccess(result, ...rest);
147147
}
148+
149+
return result;
148150
},
149151
},
150152
props,

0 commit comments

Comments
 (0)