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

提问前先看看: https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md ### 🐛 bug 描述 ### 📷 复现步骤 当鼠标悬浮在某一行的时候,自定义的扩展按钮会显示不全。在最新的antd中则不会有这样的情况(https://codesandbox.io/s/clever-moser-imbot7)。 ### 🏞 期望结果 ### 💻 复现代码 https://codesandbox.io/s/cha-xun-biao-ge-forked-tq5vst?file=/App.tsx ### © 版本信息 - ProComponents 版本: [e.g. 4.0.0] - umi 版本 - 浏览器环境...

### 🐛 bug 描述 ProForm的formRef,调用setFieldsValue正常,但是调用getFieldInstance方法,只能得到undefined ### 📷 复现步骤 import type { ProFormInstance } from '@ant-design/pro-form'; import ProForm, { ProFormText } from '@ant-design/pro-form'; import { useRef } from 'react'; const App...

问题:没有二级标题后一级标题会紧挨着输入框;没有title,logo不居中 方案:title、logo、二级标题三个存在一个就有margin-bottom,三个不存在就没有margin-bottom;title、logo并存才有中间的间隙,否则没有间隙

提问前先看看: https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md ### 🔩 所属模块或组件 Form ### 🥰 需求描述 需要一个参数来控制重置的延迟时间 ### ⛰ 功能需求适用场景 当 Drawer or Modal Form 关闭弹窗时候会有几百毫秒的关闭动效,希望在完全关闭后进行重置,这样就避免出现完全关闭前表单数据改动的情况 ### 🧐 解决方案 提供 delayResetFormTime 参数,Layouts Form 提供默认参数 ### 🚑 其他信息

form
🎖️ featrue

### 🧐 问题描述 ProTable中 使用request获取数据后,如何取出当前table的list数据呢? 在columns 如何有没有api能获取list

提问前先看看: https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md ### 🔩 所属模块或组件 Form ### 🥰 需求描述 有些组件希望放置在容器内,而不是其 Form 内,比如另一个 Form,否则会出现表单嵌套警告 ### ⛰ 功能需求适用场景 ### 🧐 解决方案 bottom 则是在 Drawer 的底下,top 同理 ![image](https://user-images.githubusercontent.com/37258382/182428108-35179f56-fdc2-43cf-8efc-42585444e3f0.png) ```tsx ``` or ```tsx ...}>...

提问前先看看: https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md ### 🐛 bug 描述 如果通过 Form.useForm 传递了 form,那么 destroyOnClose 关闭自动重置表单就失效了 ### 📷 复现步骤 https://codesandbox.io/s/drawer-biao-dan-forked-zbryyu?file=/App.tsx ### 🏞 期望结果 ### 💻 复现代码 ### © 版本信息 - ProComponents 版本: [e.g. 4.0.0]...

目前antd可以在nextjs中直接import,但是pro component还需要dynamic import。 这样出来就没有ssr效果了。请问大家有没有办法能够直接import。

### 🐛 bug 描述 使用ProFormSelect的request属性调用接口获取下啦框数据,前几条数据正常,后面的数据重复展示,但是接口返回数据是正确的 ![image](https://user-images.githubusercontent.com/33271366/181434252-d0b276a2-6d9f-4d56-aee7-d416148815f8.png) ![image](https://user-images.githubusercontent.com/33271366/181434385-3b28167b-88c6-4339-a9ed-859c27401949.png) ![image](https://user-images.githubusercontent.com/33271366/181434411-aaa1bcf6-d7b1-48a7-85fd-64ab4834a76c.png)

### 🐛 bug 描述 request的时候ProFormDependency得到的是setFieldsValue的原始数据 手动select触发ProFormDependency得到的是transform变化后的数据 ### 📷 复现步骤 { const json = await api() return json }} > ({id: v.value, name: v.label})} /> { (value)=> { console.log(value) } }...