ant-design / ant-design/pro-components

🐛[BUG]QueryFilter 中的表单项设置colSize不生效,会被处理成”col-24“

Open
#7,998 0 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

### 🐛 bug 描述
QueryFilter 中的表单项设置colSize不生效,会被处理成”col-24“

### 📷 复现步骤

https://codesandbox.io/p/sandbox/cha-xun-shai-xuan-mo-ren-shou-qi-forked-qdgyjg?file=%2FApp.tsx%3A10%2C45-10%2C52
### 🏞 期望结果

### 💻 复现代码

### © 版本信息

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

### 🚑 其他信息

![Uploading image.png…]()

Contributor guide

Open the contributing guide

Research direction

Start with the linked CodeSandbox and reproduce the QueryFilter form item configuration using colSize. Trace the QueryFilter entry point and verify why the value becomes "col-24"; done means the configured colSize is reflected in the rendered layout and the reproduction no longer shows the incorrect class.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.