--- order: 3 title: zh-CN: 表单控件 en-US: Form controls --- ## zh-CN 展示所有支持的表单控件。 **注**: 输入框:只有正确设置了 type 属性的输入控件才能被赋予正确的样式。 ## en-US A list off all the controls that can be used with form. **Note**: Input control: Only if set correct type for it, then it will be set correct style. ````jsx import { Form, Input, Select, Checkbox, Radio } from 'antd'; const FormItem = Form.Item; const Option = Select.Option; const RadioGroup = Radio.Group; function handleSelectChange(value) { console.log(`selected ${value}`); } ReactDOM.render(
, mountNode); ````