# 智能提示 - order: 4 类似账号注册表单输入框的自动完成功能。 --- ````jsx var Select = antd.Select; var Option = Select.Option; var Test = React.createClass({ getInitialState() { return { options: [] }; }, handleChange(value) { var options; if (!value) { options = []; } else { options = ['gmail.com', '163.com', 'qq.com'].map(function(domain) { var email = value + '@' + domain; return ; }); } this.setState({ options: options }); }, render() { return ; } }); React.render(, document.getElementById('components-select-demo-combobox')); ````