ant-design / ant-design/pro-components

🐛[BUG]使用BetaSchemaForm创建QueryFilter类型表单时 hidden 属性不生效,依然会占用一个空间

Open
#8,397 2 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://codesandbox.io/p/sandbox/schema-biao-dan-forked-r6lhsk?file=%2FApp.tsx%3A32%2C1-51%2C5

### 🏞 期望结果

能够隐藏

### © 版本信息

- ProComponents 版本: 2.7.1
- 浏览器环境 chrome
- 开发环境 mac OS

### 🚑 其他信息
截屏2024-05-09 16 43 11

Contributor guide

Open the contributing guide

Research direction

Start with the linked CodeSandbox and its App.tsx reproduction for a BetaSchemaForm using a QueryFilter form. Confirm that the hidden field still occupies space, then trace the related form behavior and verify that hidden fields no longer affect the layout in the reproduction.

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.