ant-design / ant-design/pro-components

👑 [需求] ProFormDigitRange需要宽度铺满

Open
#9,126 1 comment 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

### 🔩 所属模块或组件
ProFormDigitRange

### 🥰 需求描述
需要宽度铺满表单,需要在内部Compact组件内compactProps默认为{ block: true }

### ⛰ 功能需求适用场景
作为表单项之一的DigitRange需要和其他表单项目一样保持宽度铺满

### 🧐 解决方案
compactProps默认为{ block: true }。

### 🚑 其他信息
![Image](https://github.com/user-attachments/assets/a3c72326-fa9e-4474-a124-8b2330e6c64b)
![Image](https://github.com/user-attachments/assets/eec75fc3-99e9-4de3-a372-023d8e56df6f)

Contributor guide

Open the contributing guide

Research direction

Locate the ProFormDigitRange implementation and inspect its internal Compact component usage, focusing on the compactProps default. Make the component fill the form width by default, then verify that it aligns with the width of other form items.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.