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 (
 | 
			
		||||
      <ConfigProvider componentDisabled={formDisabled}>
 | 
			
		||||
        <form
 | 
			
		||||
          onSubmit={(e) => e.preventDefault()}
 | 
			
		||||
          className={css`
 | 
			
		||||
            .ant-formily-item-feedback-layout-loose {
 | 
			
		||||
              margin-bottom: 12px;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user