ant-design / ant-design/pro-components

🐛[BUG] wrapper like ProForm, ProFormList, ProTable are not working.

Open
#8,123 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
4.8k
Forks
1.4k
Avg merge
10h 44m
Merged PRs (30d)
3

Description

I am thinking of using some Ant Design Pro components in my project where i am already using Ant Design, typescript and vite. Where in my page when i am trying to use wrraper like protable or proform then this error is coming:

![image](https://github.com/ant-design/pro-components/assets/76719599/13667bc5-102e-4dfd-92fd-a802db229dbb)

and this is my current code
```typescript
const Dashboard = () => {
const [form] = Form.useForm();
return (





)
}
```

when i tried using without proform i can use proformfield and proformselect. but not with the wrappers which i desperately want to

Contributor guide

Open the contributing guide

Research direction

Reproduce the reported failure in a TypeScript/Vite project using the shown Dashboard code, comparing ProForm with ProFormField and ProFormSelect. Start from the error shown in the issue and investigate the ProForm, ProFormList, and ProTable wrappers. Done means the wrappers render and work in the reported usage without the error; no source file or test is identified in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.