Antd Select component Warning

1. Antd version 3.11.2 has been upgraded, and Select components that use antd have alarms

.

clipboard.png
2. The local code is as follows:

    <Select
      showSearch
      style={{ width: 200 }}
      placeholder="Select a person"
      optionFilterProp="children"
      onChange={this.handleChange}
      onFocus={this.handleFocus}
      onBlur={this.handleBlur}
      filterOption={(input, option) => option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0}
    >
      <Option value="jack">Jack</Option>
      <Option value="lucy">Lucy</Option>
      <Option value="tom">Tom</Option>
    </Select>

3. Hope to remove the alarm and display normally

Mar.09,2022

maybe you didn't set the value of select


set the defaultValue of select

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-1e4d798-44f15.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-1e4d798-44f15.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?