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

Geschlossen

#3.368 geöffnet am 11.01.2023

 (2 Kommentare) (0 Reaktionen) (1 zugewiesene Person)TypeScript (2.136 Forks)batch import
any-one-all-ofbugdependencieshelp wanted

Repository-Metriken

Stars
 (13.175 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 3T 17h) (32 gemergte PRs in 30 T)

Beschreibung

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.

Contributor Guide