pro-components icon indicating copy to clipboard operation
pro-components copied to clipboard

🏆 Use Ant Design like a Pro!

Results 761 pro-components issues
Sort by recently updated
recently updated
newest added
trafficstars

提问前先看看: https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md ### 🐛 bug 描述 ProTable组件的request方法如果没有await一个宏任务 无法触发syncToUrl回调函数 ### 📷 复现步骤 在request中使用这段代码才能触发syncToUrl ``` await new Promise((resolve) => { setTimeout(resolve, 0); }); ``` ### 🏞 期望结果 每次使用分页跳转 触发syncToUrl回调函数 ### 💻 复现代码...

### 🧐 问题描述 根据antd官网的指引,可以用filteredValue开启受控模式,然后在onChange里拿到filter信息,但是EditableProTable的onchange方法里没有返回filter信息,怎么做一键清除所以筛选条件的功能。 ### 💻 示例代码 ### 🚑 其他信息

### 🐛 bug 描述 EditableProTable组件在type=multiple多行编辑时取消编辑会丢数据 ### 📷 复现步骤 同时编辑两行后,先后点击取消 如图: ![Image](https://github.com/user-attachments/assets/bc4b3d20-2dbf-4baf-918c-bd1e4887c4ad) ### 🏞 期望结果 ### 💻 复现代码 ### © 版本信息 - ProComponents 版本: 2.6.43 - umi 版本 4.1.0 - 浏览器环境...

提问前先看看: https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md ### 🐛 bug 描述 react 18 使用 ProTable组件 报错: ``` findDOMNode is deprecated and will be removed in the next major release. Instead, add a ref directly to...

components: { Menu: { itemSelectedBg:xx ... }, }, 设置并不生效,settings好像也只有"navTheme": "realDark",选中背景才会变色。如果想在theme弄,应该怎么设置呢 ![image](https://github.com/user-attachments/assets/b923efea-c707-45dc-aa42-9d929e1c05b9)

提问前先看看: https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md ### 🐛 bug 描述 EditableProTable 在设置 filterType: "light" 时,查询筛选时被应用了 formItemProps.rules,导致无法正常查询。 ### 📷 复现步骤 如果 filterType 不设置为 light,则没有这个问题。 ### 🏞 期望结果 期望 rule 不会生效。 ### 💻 复现代码 https://codesandbox.io/p/sandbox/antd-procomponents-table-qm6x4c ###...

### 🔩 所属模块或组件 所属组件:ProTable ### 🥰 需求描述 ![Image](https://github.com/user-attachments/assets/ea5bc6d5-e8d7-4f6c-90e4-1d746cdc13fa) 当前[ProTable的Columns列定义文档](https://pro-components.antdigital.dev/components/table#columns-%E5%88%97%E5%AE%9A%E4%B9%89)中,虽然有提到使用ignoreRules开启表单区域的规则校验,但是没有给出具体说明,我也是翻到[这个issue的回复](https://github.com/ant-design/pro-components/issues/4635#issuecomment-1042496606)后才知道是要配置ProTable组件的`form.ignoreRules`为`false`才能让表单区域的规则生效。 所以希望添加详细说明。 ### ⛰ 功能需求适用场景 用户翻阅文档时查找解决方案 ### 🧐 解决方案 在[Protable属性表格](https://pro-components.antdigital.dev/components/table#protable)中添加对`ignoreRules`属性的说明,然后 将Columns列定义表格中的“`ignoreRules`”修改为超链接,跳转到上面的说明。 ### 🚑 其他信息

提问前先看看: https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md ### 🧐 问题描述 colums中我使用children来进行表头分组,但是我需要的是二级表头作为搜索项,现在似乎只展示一级表头的。 ### 💻 示例代码 const columns: ProColumns[] = [ { title: '基本信息', search: false, children: [ { title: '期次', dataIndex: 'planId', key: 'planId', renderFormItem: ()...

When using , currency formatting for Russian (ru‑RU) is incorrect: 1. The ruble symbol “₽” is rendered before the number, while the ru‑RU locale requires it after the value: •...

### 🐛 Bug 描述 在 @ant-design/pro-components 2.8.3 之后的版本中,ProForm 的类型定义出现问题。这是由于类型导入路径从相对路径改为了绝对路径(使用 src/),导致类型无法被正确解析。 ### 📷 复现步骤 1. 使用 @ant-design/pro-components > 2.8.3 版本 2. 在代码中使用 ProForm.Item 或 ProForm.Group 3. TypeScript 会报错,无法找到相关类型定义 `路径:@ant-design/pro-form/es/layouts/ProForm/index.d.ts` ```tsx //...