baidu / baidu/amis

为 InputTree 增加默认选中第一项的功能

Open
#11,631 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
18.9k
Forks
2.7k
PR merge metrics
No merged PRs in 30d

Description

#### 是否关联于某个问题吗:
我正在使用 InputTree,我希望当 API 完成后,能够默认选中第一个选项

#### 预期的解决方案:

#### 其他可接受方案:
或者可以自行指定默认选中的ID

#### 任何附加信息:

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names InputTree but no implementation file or test. Start by locating the InputTree component and how it handles API completion; done means supporting selection of the first option by default or allowing a default selected ID.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.