Skip to content

items in the UiSchema does not work for ui:items #4949

@heath-freenome

Description

@heath-freenome

Prerequisites

What theme are you using?

utils

Version

6.x

Current Behavior

Right now the UiSchema type contains an items prop via #4675. That prop should have been added to the UIOptionsBaseType instead, thus giving it the potential ui: prefix. Currently the code from the original PR is only looking at items. The computeItemUiSchema() in ArrayField should instead use the getUiOptions() function first to then check for the items

Expected Behavior

The code should also respect the ui:items syntax in UiSchema

Metadata

Metadata

Labels

bugutilsRelated to @rjsf/utils

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions