ant-design / ant-design/pro-components
🐛[BUG] Can not find FormContext. Please make sure you wrap Field under Form
- Dominant language
- TypeScript
- Stars
- 4.8k
- Forks
- 1.4k
- Avg merge
- 10h 44m
- Merged PRs (30d)
- 3
Description
提问前先看看:
https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md
### 🐛 bug 描述
Can not find FormContext. Please make sure you wrap Field under Form.
### 📷 复现步骤
[
{
action?.startEditable(row.ID);
}}
key="link"
>
编辑
,
],
},
}}
>
### 🏞 期望结果
### 💻 复现代码
### © 版本信息
- ProComponents 版本: [e.g. 4.0.0]
- umi 版本
- 浏览器环境
- 开发环境 MACOS
### 🚑 其他信息
点击编辑后触发错误
Contributor guide
Research direction
Start with the ProList example in the issue and reproduce the error by clicking the edit action. Trace the editable-row path and the FormContext lookup; done means the shown ProList configuration can enter editing without the “Can not find FormContext” error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100