Skip to content

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

Open
@ajun568

Description

@ajun568

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)

稳定复现

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions