rjsf-team/react-jsonschema-form

"Omit extra items" does not omit arrays in dependencies

クローズ

#1,357 opened on 2019/07/13

 (1 件のコメント) (0 件のリアクション) (1 人の担当者)TypeScript (2,136 件のフォーク)batch import
arraysbugdependencieshelp wanted

Repository metrics

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

説明

Prerequisites

Description

Playground link

Steps to Reproduce

  1. Check "Omit extra data" and "Live omit"
  2. Click on "opt" to make it true
  3. Check "a" and "b"
  4. Click "opt" to make it false
  5. Check "c" and "d"

Expected behavior

When clicking "opt" to make it false, "a" and "b" should be omitted from the form data. I should end up with the form data's value of "arr" to equal ["c", "d"].

Actual behavior

"a" and "b" is not omitted from the form data. I end up with the form data's value of "arr" to equal ["a", "b", "c", "d"].

Version

1.6.1

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