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 描述 ProForm.Group配置collapsible属性之后,折叠Group,然后提交表单,Group里面的表单项数据就丢失了🐛[BUG] 问题原因代码是这一行 {collapsible && collapsed ? null : childrenDoms} 折叠之后,就把Group里面的元素全部删掉了,这时候表单提交填写的数据就无法获取到 ### 📷 复现步骤 ### 🏞 期望结果 ### 💻 复现代码 ### © 版本信息 - ProComponents...

### 🔩 所属模块或组件 Schema Form 使用的schema属性中如何区分width属性,是form和table应该都有各自的width ` const schema = [ { title: 'ID', dataIndex: 'id', width: 200, columnWidth: 180, hideInForm: true, } ] ` ### 🥰 需求描述 增加columnWidth

### 🧐 问题描述 antd Layout有 onBreakpoint , ProLayout 没有了; 初始化时onCollapse也不执行,只有手动点击折叠按钮才触发。 问:menuItemRender 中 如何获取 collapsed 折叠状态值

ProTable,在指定 style={{ height: '650px', overflow: 'auto', }} 包裹下, 可以指定某一项滚到可视化区域内

``` Warning: forwardRef render functions accept exactly two parameters: props and ref. Did you forget to use the ref parameter? ```

### 🧐 问题描述 protable筛选栏的"提交"和"重置"按钮可以另起一行吗 目前想到的解决方案是 : 把自带的按钮隐藏 重新包装一层 , 但是这毕竟不是自带的,用起来不那么舒服 ,有没有api可以直接实现一下 ### 💻 示例代码 ![image](https://user-images.githubusercontent.com/4651759/188531470-37c50028-5f54-4006-976e-7d6fdf1b358d.png)

![image](https://user-images.githubusercontent.com/57606461/188417375-3d99b08e-23c2-42ac-86c6-916eaccdee0b.png)

request 接口返回的data数据大于10条,点击不同的页码时不刷新数据,同时columns的render拿到的action?.pageInfo?.current时不准确的,每次得到的值是上一次点击页码的值

提问前先看看: https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md ### 🐛 bug 描述 ProTable dateFormatter 配置在处理 dateRange 时不生效,点击查询会返回两个 moment 对象,不论 dateFormatter 是 `string | number` ### 📷 复现步骤 点击复现代码链接,选择时间范围,点击查询,查看 console 中的 `params.createdAt` 输出为两个 moment 对象,而非 string[] ###...

提问前先看看: https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md ### 🧐 问题描述 版本 : "@ant-design/pro-components": "^1.1.3", 最新应该是 1.1.21,固定死1.1.21必现 切换翻页条数切换到20 50, 页面始终回显成10 是咋回事? ### 💻 示例代码 ```Javascript ``` ### 🚑 其他信息