Skip to content

childLabelProp vs elementLabelProp #1917

Open
@sdirix

Description

@sdirix

Describe the bug

Within the code base we use both, elementLabelProp and childLabelProp as the UI Schema option to define a label for array elements.

Expected behavior

This is not intended and should be aligned. For a backward compatible solution we should probably support both options, with elementLabelProp taking higher precedence as it's the intended option.

Steps to reproduce the issue

Try to use elementLabelProp and/or childLabelProp with the React Material and the Vue renderer sets.

Screenshots

No response

In which browser are you experiencing the issue?

N/A

Framework

React, Vue 3, Vue 2

RendererSet

Material, Vanilla

Additional context

See:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions