baidu / baidu/amis

InputKV在指定keySchema的情况下,如何支持自定义key的输入,且不受keySchema的数量限制

Open
#7,441 1 comment 0 reactions 0 assignees View on GitHub
bug confirmed
Dominant language
TypeScript
Stars
18.9k
Forks
2.7k
PR merge metrics
No merged PRs in 30d

Description

我想在InputKV中增加一些常用的key,同时支持用户自定义输入key。
现在的InputKV指定keySchema之后,用户无法输入自定义的key,且可添加key的数量会受到keySchema的限制。
如何实现标题的功能?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the InputKV component and reading how keySchema currently controls available keys and input handling. Verify the behavior with the existing component tests, if present; it is done when keySchema-provided keys remain available while users can add custom keys without the key-count limit.

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
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.