Comments (8)
@almet, for a more opinionated package try react-schema-form. I think it's exactly what you're looking for: it uses the material-ui package and the same json-schema standard (via tv4)
from react-jsonschema-form.
See https://www.google.com/design/spec/components/text-fields.html#text-fields-character-counter for an example of field.
from react-jsonschema-form.
I really think this lib shouldn't enforce using any css framework at all. But I understand it might please users to have something beautiful by default. Dilemma.
from react-jsonschema-form.
Then the question could become "how do we let users specify the components they want", which might be something possible via what's described in https://github.com/mozilla-services/react-jsonschema-form#custom-widgets (I just actually discovered this).
Do you think this will be enough?
from react-jsonschema-form.
I don't know, you might want to play a bit with it to find out :)
What's sure, I don't feel at all like embedding a CSS framework in this project; I'd rather provide the DOM extension required mechanisms so users can bring their own element tags and attributes, so custom schema fields and widgets are probably the way to go, and we'll add anything missing if we can.
One thing is CSS frameworks usually heavily rely on a very specific HTML nested structures, tag & class names, semantics, etc., while React doesn't really offer easy to use mechanisms to alter/extend/override these at a given specific node level. Kinda conflicting purposes.
Time for a React-XSLT lib? LOLNOPE.
from react-jsonschema-form.
For material design, there is http://react-toolbox.com too.
from react-jsonschema-form.
Following my comment above, I'm closing this. Feel free to reopen and discuss if you feel this is wrong.
from react-jsonschema-form.
Material-UI made beta 1, React-Toolbox is still on React 15.
from react-jsonschema-form.
Related Issues (20)
- 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
- RJSF anyOf customization HOT 3
- Validation error when multiple $ref references point to a single definition HOT 3
- not working about validation HOT 3
- Passing ui options down to array items HOT 3
- MUI number input label UI issue with non-numeric input HOT 1
- Publish v6 release candidate with support for Bootstrap 5 HOT 1
- Can not replace "integer" widget HOT 4
- Omit Extra Data not behaving as expected on submit for allOf (if then) schemas along with additionalProperties set to false blocking form submission HOT 1
- `anyOf` form validation error messages confusing when `anyOf` items contain properties found in other items HOT 4
- How to reference an array field from an enum field?
- Array Length dependant on FormContext Value
- Add support for tremor UI library
- Issue with data of files array when we have validation required and minItems HOT 1
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.