mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-05 21:49:25 +08:00
fix(client): disable the default onSubmit event of the form (#3834)
This commit is contained in:
parent
996e89fb14
commit
cfa6930d70
@ -205,6 +205,7 @@ export const Form: React.FC<FormProps> & {
|
|||||||
return (
|
return (
|
||||||
<ConfigProvider componentDisabled={formDisabled}>
|
<ConfigProvider componentDisabled={formDisabled}>
|
||||||
<form
|
<form
|
||||||
|
onSubmit={(e) => e.preventDefault()}
|
||||||
className={css`
|
className={css`
|
||||||
.ant-formily-item-feedback-layout-loose {
|
.ant-formily-item-feedback-layout-loose {
|
||||||
margin-bottom: 12px;
|
margin-bottom: 12px;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user