rjsf-team/react-jsonschema-form

ui:enumDisabled not working with OneOfField

開放

#2,776 建立於 2022年3月23日

 (3 則留言) (0 個反應) (0 位負責人)TypeScript (2,136 個分叉)batch import
featurehelp wantedmaterial-ui

倉庫指標

星標
 (13,175 顆星)
PR 合併指標
 (平均合併 3天 17小時) (30 天內合併 32 個 PR)

描述

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",

貢獻者指南