alibaba / alibaba/x-render

addons 中的 schemaPath 返回格式有误,使用 addons.getSchemaByPath(addons.schemaPath) 无法正确获取对应 path 的 schema 对象

Open
#1,628 0 comments 0 reactions 1 assignee Claimed by @lhbxs View on GitHub
Dominant language
TypeScript
Stars
7.9k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

**1.依赖仓库的版本(Dependencies versions)**:

- react:18.3.1
- form-render:2.4.5(当前最新版本 2.5.2 同样有该问题)
- antd:5.22.2

**2.问题描述(Bug description)**:

addons 中的 schemaPath 返回格式有误,主要指嵌套格式,目前是返回的以逗号分隔的形式,应该以点分隔,造成的问题是,使用 addons.getSchemaByPath(addons.schemaPath) 无法正确获取对应 path 的 schema 对象

**3.最小复现 demo(Reproduction demo)**:

稳定复现

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.