Skip to content

[Feature] Disable Specific Item from array on UiSchema #2504

@c0ncentus

Description

@c0ncentus

Prerequisites

Description

According to the doc it is a new Feature :
I can disable specific item (no disable additionnal properties) with index number (no conditionnal because is for javascript dynamic logic).

Steps to Reproduce

there is no step to reproduce because is a UISchema Feature

Expected behavior

have option on uischema let me fill a index wich the whole item is disable (object or string/number)

Actual behavior

No possibilities to fill an index which disable specific item from array

Version

v3.0.1
if something have this feature then the doc need update please

Activity

newt10

newt10 commented on Sep 3, 2021

@newt10
Collaborator

Can you update with more details (with your schema, formData and uiSchema) on what you are trying to accomplish.

c0ncentus

c0ncentus commented on Mar 5, 2022

@c0ncentus
Author

would appreciate to
uischema-schema

{
    toAProperty  : [0: { communPropertyHere }]
}

communPropertyHere include disable feature => some input in array will be disable like string input

heath-freenome

heath-freenome commented on Apr 14, 2023

@heath-freenome
Member

@c0ncentus This is an interesting use case that will required time and attention that us maintainers don't have. We'd love a PR to add this if you are willing to try.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @nickgros@c0ncentus@newt10@heath-freenome

        Issue actions

          [Feature] Disable Specific Item from array on UiSchema · Issue #2504 · rjsf-team/react-jsonschema-form