Skip to content
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

Collapsible form groups based on ALL empty fields #920

Closed
ivanthemeh opened this issue May 9, 2018 · 2 comments
Closed

Collapsible form groups based on ALL empty fields #920

ivanthemeh opened this issue May 9, 2018 · 2 comments

Comments

@ivanthemeh
Copy link

I am curious if anyone is aware of an easier way to make the formGroups in a form collapsible if the inputs in that group are all empty? Please and thanks! I have looked through the docs and havent found anything helpful...other than the enctype attribute but not much docs on that..

@donalmurtagh
Copy link

@glasserc
Copy link
Contributor

No support currently exists in rjsf for collapsible anything. Defining a good UI for such a feature is outside the scope of rjsf given the limited maintenance resources we have available for it. The intended design is that users can add their own functionality to a form by defining a FieldTemplate, which could define its own UI for hiding and showing sections of a form or whatever else makes sense in the project.

I've opened a PR to add this topic to the FAQ (#924).

keul pushed a commit to bopen/react-jsonschema-form that referenced this issue May 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants