royaizenberg / react-native-jsonschema-form Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
Hey @royaizenberg,
Given that this project has received no updates for over two years, and the fact that folks are reporting issues with a large swathe of issues, and the fact that none of the issues show indication of maintainer attention, I would encourage you to please sunset this project, as follows:
views like date, radio button, multi-choice, updown, placeholder from this library is not working.
Please update this library for react-native.
Or suggest some other library which will support all views in the json-schema form.
I have raised the same issue on react-jsonschema-form
rjsf-team/react-jsonschema-form#1519
I can only select one option when I use multiple choices list.
json_schema = {
"features": {
"type": "array",
"title": "Choose Vechile features",
"items": {
"type": "string",
"enum": [
"foo",
"bar",
"fuzz",
"qux"
]
},
"uniqueItems": true
},
}
ui_schema = {
"features": {
"ui:widget": "checkboxes"
}
}
form_data = {
"features": [
"foo",
]
}
<Form
schema={ json_schema }
uiSchema={ ui_schema }
formData={ form_data }
/>
When select other optin, the form_data's features becomes a string, not array. It should be array.
As a result, when submitting, it gives validation error: "should be array"
Please help me.
rjsf-team/react-jsonschema-form#814 fixes an issue to allow references non-explicit components inside the ui:order
key of the uischema
object which allows you to explicitly add ordering to conditional components without using the wildcard value. This does not seem to propagate through to this package. Here's an example using rjsf/core
: https://codesandbox.io/s/red-fast-x9q0c?file=/src/App.js
If I were to apply the same logic using this package, I get a uiSchema order list contains extraneous property "..."
. Is this a bug?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.