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…
	
		Reference in New Issue
	
	Block a user