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({});
 | 
			
		||||
            onChange?.(v);
 | 
			
		||||
          } catch (err) {
 | 
			
		||||
            onChange?.(ev);
 | 
			
		||||
            field.setFeedback({
 | 
			
		||||
              type: 'error',
 | 
			
		||||
              code: 'JSONSyntaxError',
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user