Comments (4)
In that case you assume "string"
, but should we introspect and guess the type from enum values?
from react-jsonschema-form.
should we introspect and guess the type from enum values?
And how about
"fstype": {
"enum": ["str", 2, {foo: [1, 2]}]
},
Oh my.
from react-jsonschema-form.
http://json-schema.org/latest/json-schema-validation.html#anchor76
The value of this keyword MUST be an array. This array MUST have at least one element.
Elements in the array MUST be unique.Elements in the array MAY be of any type, including null.
from react-jsonschema-form.
This was fixed by #668
from react-jsonschema-form.
Related Issues (20)
- Object Template ReferenceError: Cannot access before initialization HOT 3
- Cannot change property value with liveOmit and omitExtraData for arrays of objects and conditionality HOT 5
- Null Fields on Material Ui 5 HOT 2
- findSchemaDefinition doesn't detect cyclic references HOT 7
- `@rjsf/mui` has issues with the dark theme HOT 4
- Support custom error messages from schema HOT 2
- Filenames have an ugly "</strong>" printed next to them. HOT 3
- make it compatible with native esm HOT 3
- Duplicate widgets when rending OpenAPI's discriminated unions
- Usage Example is missing Form import
- Widgets unusable under Antd v5 using a dark theme (wrong ConfigProvider context passed down) HOT 3
- How to figure out the changed `formData` object property from inside `onChange` callback? HOT 4
- Warning: React does not recognize the `errorSchema` and Invalid DOM property `autocomplete`. HOT 1
- DOCUMENTATION Issue: Wrong method signature? HOT 1
- Schema defines standalone checkbox as mandatory, but asterisk is not rendered. HOT 2
- I would like to make a default change to the look of all input fields HOT 5
- Adding required field in nested if/then/else not working correctly HOT 2
- FormData is not received based on schema properties HOT 1
- Select bug when multiple oneOf are nested HOT 2
- How can I cite this? HOT 6
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.