ant-design / ant-design/pro-components

使用BetaSchemaForm使用定义 columns valuetType 为cascader 时赋予fieldProps属性都会报错🐛[BUG]

Open
#8,558 4 comments 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

提问前先看看:

https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md

### 🐛 bug 描述
使用BetaSchemaForm使用定义 columns valuetType 为cascader 时赋予fieldProps 属性都会报错,会赋值给dom,options属性也会fu赋值给dom div

截屏2024-07-10 16 41 44
截屏2024-07-10 16 41 38
截屏2024-07-10 16 44 13
截屏2024-07-10 16 44 44
截屏2024-07-10 16 46 35

### 📷 复现步骤
赋予showSearch 、changeOnSelect都可以复现

### 🏞 期望结果

### 💻 复现代码

### © 版本信息

- ProComponents 版本: [e.g. 4.0.0]
- umi 版本
- 浏览器环境
- 开发环境 [e.g. mac OS]

### 🚑 其他信息

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue in BetaSchemaForm with a columns entry using valueType cascader and fieldProps such as showSearch or changeOnSelect. Trace how these props reach the rendered component and verify that they are no longer passed to the DOM, while the cascader options and field behavior still work as expected.

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
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.