New issue Open 🐛 bug 描述 在ProFormList 中使用了 ProFormDependency 监听 ProFormDigit 的值做一些动态 UI,在 ProFormDigit 的值为整数 0 时,ProFormDependency 监听到的值为 undefined,其他数值一切正常,包括负数。在非 ProFormList 包裹的 Form 场景使用时,上述的组件搭配使用一切正常。
🐛 bug 描述 1.pro-form最新版,以下配置 digit类型不能被清空,清空后光标失去焦点就会赋值0; <BetaSchemaForm<any> layoutType="Form" columns={[ { title: 'digit', dataIndex: 'digit', valueType: 'digit', width: 'm', }, ]} /> 版本 "@ant-design/pro-form":"1.7x
提问前先看看: https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md 🐛 bug 描述 ProTable自定义valueType如下: CareerList组件定义如下: 编辑ProTable某一行这个ProFormDigit自定义组件的值(设置成5),然后点取消 此时,再
After updating @ant-design/pro-components: ^2.8.1, @ant-design/pro-layout: ^7.4.0 and antd from ^5.2.3 to ^5.21.5, and also umi from ^3.5.23 to ^4.3.28, react from ^16.14.0 to 18.2.0 menu is not rendering in sideBar. #8940 opened Dec 23, 2024 by IndhuKandhaiya 1 🐛...
🐛 bug 描述 在ModalForm中使用ProFormDigit组件, 设置fieldProps={{precision: 0, addonAfter: '%'}}, 当输入有多个小数点的数字字符串时, 输入框内值改变为整数, 但是表单获取值变成了小数, 如输入22.3.4.5.6.7, 输入框内值变为22, 表单实际捕获的值为22.3 📷 复现步
| [ProFormSwitch](https://ant.design/components/switch-cn/) | 用于输入互斥的两个选项,一般是 true 和 false | | [ProFormUploadButton](https://ant.design/components/upload-cn/) | 按钮样式的上传文件 | | [ProFormUploadDragger](https://ant.design/components/upload-cn/) | 区域的上传文件,一...
// https://github.com/ant-design/pro-components/issues/5743 it.only(`📦 submitted value should be consistent with input when precision=0`, async () => { const fn = jest.fn(); const html = render( <ProForm onFinish={async (value) => { fn(value.count); }} > <ProFormDigit na...
🐛 bug 描述 ant desgin ProFormDigit 使用string Mode 。输入一个长数字,例如。9999999999.123456789 当表单设置readonly 为true的时候。 数字会被裁减。 📷 复现步骤 用下面的代码 输入数字。然后点击按钮改变只读 🏞 期望结果 readonly和输入的数字保持一致。 因
chenshuai2144 merged 4 commits into ant-design:master from drizzlesconsin:pro-form-digit-range-placeholder Apr 9, 2022 Merged fix(digitRange): fix array placeholder #5022 chenshuai2144 merged 4 commits into ant-design:master from drizzlesconsin:pro-form-digit-range-placeholder Apr 9, 2022 ...
// https://github.com/ant-design/pro-components/issues/5743 it(`📦 submitted value should be consistent with input when precision=0`, async () => { const fn = jest.fn(); const html = render( <ProForm onFinish={async (value) => { fn(value.count); }} > <ProFormDigit name="...