ant-design / ant-design/pro-components

👑 Render different form item in search form

Open
#8,211 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

### 🔩 所属模块或组件

ProTable and ProForm

### 🥰 需求描述

It would be great if we could determine in the form item if the item will be rendered as part of a search form or a normal form.

### ⛰ 功能需求适用场景

Sometimes we just need a different component for searching and this additional information would help us a lot.

### 🧐 解决方案

Maybe we could extend `ProFieldFCMode` with value `search`?

### 🚑 其他信息

n/a

Contributor guide

Open the contributing guide

Research direction

Start by reading the ProTable and ProForm components, then trace how ProFieldFCMode is used when rendering form items. Determine how a search-form context should differ from a normal-form context, and confirm that the requested component choice works in both scenarios.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 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.