Comments (2)
This is definitely a bug and we would appreciate a pull request to fix it. I just closed #3599 because I think that was fixed in #3969.
Interestingly, if you wrap if
/then
/else
in allOf
, it works. So that may be a useful workaround for you. See this playground link.
from react-jsonschema-form.
Thanks for the workaround! The workaround seems to work fine when the "allOf defaults behaviour" is set to "Populate defaults with allOf"
from react-jsonschema-form.
Related Issues (20)
- Using SchemaField when upgrading from v4 to v5 HOT 3
- Custom widget access to form Data HOT 6
- Form Layout HOT 1
- Empty item in selectbox for enum is not visible HOT 2
- Custom Error Message for FormData required Fields HOT 3
- anyOf/oneOf option switches when entering value HOT 1
- Issue when resetting certain numbers with a default value HOT 2
- Performance issues with large schema dependencies and oneOf conditions. HOT 4
- File Upload "No file chosen" issue HOT 1
- validator and customValidate both are validating fields HOT 1
- Is there any way in RJSF 5 to externally validate the form without triggering form validation? HOT 2
- oneOf not selecting correct default value for complex objects with the same property keys HOT 1
- field ui:readonly and ui:disabled cant cover ui:globalOptions property
- Integration of shadcn HOT 2
- Description Property Not Shown in OneOf Dropdown Menu 🐛 HOT 3
- Adding different display name to enum with ui-Schema HOT 1
- `pathSchema` prop in templates HOT 1
- How to target a field in an oneOf with a uiSchema?
- How can I pass ui:widget hidden to oneOf/anyOf/allOf HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-jsonschema-form.