fix(client): fix onchange mistake (#2075)
This commit is contained in:
		
							parent
							
								
									ebdbc2dae3
								
							
						
					
					
						commit
						a3805e3b02
					
				@ -42,7 +42,6 @@ export const Json = React.forwardRef<typeof Input.TextArea, JSONTextAreaProps>(
 | 
				
			|||||||
            field.setFeedback({});
 | 
					            field.setFeedback({});
 | 
				
			||||||
            onChange?.(v);
 | 
					            onChange?.(v);
 | 
				
			||||||
          } catch (err) {
 | 
					          } catch (err) {
 | 
				
			||||||
            onChange?.(ev);
 | 
					 | 
				
			||||||
            field.setFeedback({
 | 
					            field.setFeedback({
 | 
				
			||||||
              type: 'error',
 | 
					              type: 'error',
 | 
				
			||||||
              code: 'JSONSyntaxError',
 | 
					              code: 'JSONSyntaxError',
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user