rjsf-team/react-jsonschema-form

I have a schema that fails validation using the OneOf option but still allows submitting the form and im not sure why

已關閉

#3,368 建立於 2023年1月11日

 (2 則留言) (0 個反應) (1 位負責人)TypeScript (2,136 個分叉)batch import
any-one-all-ofbugdependencieshelp wanted

倉庫指標

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

描述

Prerequisites

What theme are you using?

core

What is your question?

Hi,

The schema is made using the OneOf option and the enum would conditionally show another property, but when submitting it passes. Looking into the validation on some of the enums that when selected, they fail the validation when using the validation (raw validate)

Link: playground link

Not sure if i need to use this option differently but just checking if there is something i could do on my end to help make this pass.

貢獻者指南