The onChang event of the ant design framework Form form cannot be triggered after the cursor loses focus

The onChange event of the form in

antd is triggered when the keyboard is pressed, which is different from the traditional change event. I don"t know what happened.
is written according to the official document, and the code is as follows:

handleInputChange = (e) => {
    console.log("111111111");
}
render() {
    return (
        <Form layout="horizontal" style={{ width: 300 }}>
            <FormItem>
                {
                    getFieldDecorator("userName", {
                        initialValue: "Jack",
                        rules: [
                            {validator:this.checkUname}
                        ]
                    })(
                        <Input prefix={<Icon type="user"/>} placeholder=""  onChange={this.handleInputChange}/>
                    )
                }
        
            </FormItem>
        </Form>
    );
}

question: every time I press the keyboard, the console will output "111111111". Why not output it when the cursor leaves the input? How do I fix the code?

Mar.09,2022

this onChange is not defined by antd , different from the traditional html , it is react , antd is just a pass-through

.

you can use onBlur

Menu