brutusin / json-forms

JSON Schema to HTML form generator, supporting dynamic subschemas (on the fly resolution). Extensible and customizable library with zero dependencies. Bootstrap add-ons provided
http://brutusin.org/json-forms
Apache License 2.0
606 stars 168 forks source link

Is there a way to close off sections of the generated form? #130

Open gaitat opened 5 years ago

gaitat commented 5 years ago

Expand/Collapse type of functionality.

peeyush12345 commented 1 year ago

.collapsible { background-color: #ddd; color: #333; cursor: pointer; padding: 10px; border: none; text-align: left; width: 100%; }

.collapsible.active { background-color: #555; color: #fff; }

.content { display: none; padding: 10px; }