baidu / baidu/amis

json-schema-editor 的高级设置按钮点击失效

Open
#5,689 5 comments 0 reactions 0 assignees View on GitHub
need confirm
Dominant language
TypeScript
Stars
18.9k
Forks
2.7k
PR merge metrics
No merged PRs in 30d

Description

版本1.24.0

![image](https://user-images.githubusercontent.com/74485252/199868241-22a326d9-5fde-4f75-a52b-ad7ec846686b.png)

`{
"type": "page",
"body": {
"type": "form",
"body": [
{
"type": "json-schema-editor",
"name": "schema",
"label": "字段类型",
"enableAdvancedSetting": true,
"advancedSettings": {
"string": [
{
"type": "input-text",
"name": "maxLength",
"label": "Max Length"
}
],
"number": [
{
"type": "input-number",
"name": "max",
"label": "Max"
}
]
}
}
]
}
}`

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the reported configuration with json-schema-editor on version 1.24.0 and verify how the advanced-settings button behaves. Trace the editor behavior from that reproduction; done means the button responds and the configured Max Length and Max fields are available.

Written by the indexing model from the issue text.

Assessment

Tech stack
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.