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

[components] Cleanup fieldset - support isExpanded by default #398

Merged
merged 1 commit into from
Nov 30, 2017

Conversation

bjoerge
Copy link
Member

@bjoerge bjoerge commented Nov 30, 2017

In order to be able to deep link to form builder fields, the default fieldset must support being expanded initially. This PR fixes that.

Summary:

  • Adds a isCollapsible-prop that must be true to make the fieldset collapsible.
  • Adds a isCollapsed-prop that, renders the fieldset as collapsed initially.
  • Fixes a typo: collapsable should be collapsible (preserved backwards compatibility with schema options)
  • General cleanup

@kristofferjs
Copy link
Contributor

Tested and approved

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