rjsf-team/react-jsonschema-form

ui:enumDisabled not working with OneOfField

Open

#2,776 opened on 2022年3月23日

GitHub で見る
 (3 comments) (0 reactions) (0 assignees)TypeScript (2,136 forks)batch import
featurehelp wantedmaterial-ui

Repository metrics

Stars
 (13,175 stars)
PR merge metrics
 (平均マージ 3d 17h) (30d で 32 merged PRs)

説明

Prerequisites

Description

Setting ui:enumDisabled options on a oneOf schema does not pass the enumDisabled options to the widget being rendered.

Steps to Reproduce

  1. Go to this playground fiddle
  2. observe that 'multi['ui:enumDisabled']: [1] does not disable the second option

Expected behavior

The option to be disabled

Version

    "@rjsf/core": "^4.0.1",
    "@rjsf/material-ui": "^4.0.1",

コントリビューターガイド