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

Issue#130 and #144: Add collapsible form support #9

Merged
merged 1 commit into from
Jul 11, 2023

Conversation

saicheck2233
Copy link
Owner

Issue#130 and Issue#144: Add collapsible form support

Link: Issue#130 & Issue#144

Description: Add collapsible panel to the form. The schema below is used for enabling collapsible form

{
    "$schema": "http://json-schema.org/draft-03/schema#",
    "type": "object",
    "collapsible": true,
    "title": "Title Here",
    "properties": {
        "pageNum": {
            "type": "integer",
            "title": "Page number",
            "description": "Page number to be queried, `1-based`. See [Pagination](https://en.wikipedia.org/wiki/Pagination) for more details",
            "default": 1,
            "required": true
        }
    }
}

NOTE: Above implementation requires importing bootstrap-icons into your own webpage.

Pic before changes:
image

Pic after changes:
image
Collapsible form with title

image
Collapsible form without title.

@saicheck2233 saicheck2233 merged commit a355633 into master Jul 11, 2023
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

Successfully merging this pull request may close these issues.

2 participants