The onchange event of antd's input is triggered repeatedly, under Microsoft Pinyin

    handleFormField(field,e){
        if (!field) return;
        
        let value = e.target.value;

        // if(field==="basename"){
        //     value = value.replace(/[^\u4e00-\u9fa5_a-zA-Z0-9]/g,"")
        // }
        this.setState({
            [field]:value
        });
    }

the onchange event restricts input, but how many other input methods will be triggered repeatedly in Microsoft Pinyin?

Mar.28,2021

there is no problem only in what you type, and it doesn't matter if you trigger it multiple times.


https://developer.mozilla.org.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3d92f-2bbef.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3d92f-2bbef.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?