-
Notifications
You must be signed in to change notification settings - Fork 0
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 #28
Collapsible form #28
Conversation
I can't figure out how to add a transition when the width of the dialog changes as you collapse/expand sections |
Todo: check that form state is preserved when collapsed |
It is not. Need to make that work. |
Uncontrolled (aka no listener for onchange) inputs are used and content of a collapsed thing is not part of dom.
details example
foo:bar is reported in devtools console Styling see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details |
Would be nice if the first accordion would be open initially. Use defaultValue prop. |
Going for controlled inputs with modular forms |
The input fields are a bit close together, please add some whitespace above/below |
ReferenceError: React is not defined
…O fix submit button
…accordion is parsed
…fig a new form with a new store is created; must re-initialize with previous values
… of empty strings in output, for they mess up the way zod parses the config
I believe the behaviour is okay now. To do:
|
Currently only works for reference. Similar changes should be made to the permutations config. @sverhoeven you were considering to merge the two once they share the |
Closes #7
Uses solidui accordion
Preview: