-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
General question about the further development #1473
Comments
Hopefully the widgets, fields, templates, etc. available in |
I'm overriding already the SchemaField and yes, everything can be overwritten by using withTheme HOC. Widgets otherwise can be defined very clean and encapsulated from the logic part. The same should be done for the other components where there are bootstrap-markups inside:
Summarized: It can be overridden everything with the HOC to create a theme, but I don't think this can be done in a clean way. And I think only in a clean way there will be themes coming (like blueprintjs/antd/extjs) from the community. |
@domhaas yeah, good point. I made a suggestion for how to resolve this over here: #1222 (comment) Do you think that would work? |
@epicfaace I think this would be much better than the current implementation. Avoiding html-tags and create independant react-components should resolve the issue to overwrite for example the FieldTemplate completely. Anyhow, I need some more time to think about it. Currently I got many ideas to optimize this library, for example also the layout-thing to achieve responsive layout options, which I think is really missing.
I've recently updated my repo react-jsonschema-form-theme-blueprintjs and there's also a npm package: Hoping to get our thoughts together to one repository. |
Prerequisites
Description
Hi there,
first of all: thanks for the great work making forms less annoying. Currently I'm using this lib together with symfony/form.
As I mentioned here #1461 I'm currently developing a blueprintjs extension.
Currently I got stuck on customizing for example the SchemaField, cause I think I'm refactoring some main parts of the code and I'm writing no extension, but a complete separated fork.
Second point I was stuck on was the i18n-thing - currently I'm using react-i18next with all in my projects. Currently there is no possibility to use for example translated labels or descriptions inside this project, so I need to rewrite again the SchemaField and for sure some other parts as well.
I know, this lib was developed for the kinto admin but it would be really great to have something like a defacto standard for rendering forms in the frontend, currently I don't think it's possible due to some hard-coded files (like the SchemaField).
So, what are your plans for this lib, are you going to add some features or is there any plan to make it complete customizable?
Thank you in advance,
Dominik
Version
1.8.0
The text was updated successfully, but these errors were encountered: