{rules:[{required:false,message:'请选择'}],initialValue:apiwgAppName||""})(<Input disabled={this.store.data.apiId?true:false}className="control-special"readOnly style={{width:"70%"}}onClick={this.showModal.bind(this,"apiwgApp")}/>)}<Button className="btn-modal"type="primary"onClick...
免费加入 已有帐号?立即登录 main 克隆/下载 git config --global user.name userName git config --global user.email userEmail 分支1 标签43 贡献代码 同步代码 Tom🦄 Beautiful AntdUIcf4b4dc7天前 470 次提交 提交取消 提示:由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件 ...
InputNumber Enter a number within certain range with the mouse or keyboard. When To Use# When a numeric value needs to be provided. Examples 当前值:3 Basic usage Numeric-only input box. TS Sizes There are three sizes available to a numeric input box. By default, the size is32px. The ...
1078 - 💄 调整 InputNumber 操作栏在 `readOnly` 时为隐藏。[#25998](https://github.com/ant-design/ant-design/pull/25998) 1079 - 国际化 1080 - 🌐 添加加利西亚语支持。[#26015](https://github.com/ant-design/ant-design/pull/26015) [@barreeeiroo](https://github.com/barreeeiroo)...
574 - 🌟 `TimePicker` 组件新增 `inputReadOnly` 属性,用于设置组件是否只读。[4a69446](https://github.com/ant-design/ant-design/commit/4a69446be155c1c176b18cb2c31459f999aa5d5e) [@JesperWe](https://github.com/JesperWe) 575 - 🌟 `TreeSelect` 组件新增 `dropdownClassName` 属性。[69b...
以ProFormDigit 为例,ProFormDigit 是在 inputNumber 中的基础上进行了二次封装,我们可以直接在 ProFormDigit 上通过 fieldProps 向 inputNumber 组件上进行属性透传,这个属性也可以是类似于 onBlur 之类的事件 <ProFormDigitlabel="总量"name="totalCount"readonly={detailState} ...
InputNumber 数字输入框 Radio 单选框 Rate 评分 Select 选择器 SelectMultiple 多选选择器 Slider 滑动输入条 SliderRange 滑动范围输入条 Switch 开关 TimePicker 时间选择框 UploadDragger 上传 数据展示 Avatar 头像 Badge 徽标数 Calendar 日历 Carousel 走马灯 Collapse 折叠面板 Label 标签 Popover 气泡卡片 Preview...
{ width: '100%' }} inputReadOnly={true} allowClear={false} /> </Form.Item> </Col> <Col span={24} style={{ textAlign: 'right' }}> <Button style={{ margin: '0 10px' }} onClick={onReset}> 重置 </Button> <Button type="primary" htmlType="submit"> 搜索 </Button> </Col...
readonly: true,hasWarrantNum: true,years: (new Date()).getFullYear(),cityId: 1,} getStateFromProps(props) { let { value = {} } = props;return { ...this.parseDataFromInput(value) };} parseDataFromInput(value) { let { years, cityId, warrantNumber } = value;years = years ? (...
Apart from the phone-specific properties described below, allInputproperties supported by the used Ant Design version can be applied to the phone input component. PropertyDescriptionType valueAn object containing a parsed phone number or the raw number. This also applies to theinitialValueproperty of...