--- order: 3 title: zh-CN: 不区分大小写 en-US: Non-case-sensitive AutoComplete --- ## zh-CN 不区分大小写的 AutoComplete ## en-US A non-case-sensitive AutoComplete ```tsx import { AutoComplete } from 'antd'; const options = [ { value: 'Burns Bay Road' }, { value: 'Downing Street' }, { value: 'Wall Street' }, ]; const Complete: React.FC = () => ( option.value.toUpperCase().indexOf(inputValue.toUpperCase()) !== -1 } /> ); ReactDOM.render(, mountNode); ```