ant-design / ant-design/pro-components

🐛[BUG] StrictMode模式下,BetaSchemaForm指定ModalForm,且columns中使用renderFormItem,渲染无表单项

Open
#9,067 1 comment 1 reaction 0 assignees View on GitHub
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 描述

StrictMode模式下,BetaSchemaForm指定ModalForm,且columns中使用renderFormItem,渲染无表单项

![Image](https://github.com/user-attachments/assets/b73fd1d9-acc9-4700-8e0e-8a637b76e27a)

### 💻 复现代码

复现代码
https://codesandbox.io/p/sandbox/shi-yong-proformdependency-forked-px4gj7

### © 版本信息

- ProComponents 版本: [2.8.7]

Contributor guide

Open the contributing guide

Research direction

Start with the linked CodeSandbox reproduction and confirm the behavior using ProComponents 2.8.7 in StrictMode. Trace how BetaSchemaForm with ModalForm handles columns that use renderFormItem; done means the expected form items render.

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
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.