-
Notifications
You must be signed in to change notification settings - Fork 99
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
chore(form): add complex form demo #4865
Conversation
Preview: https://patternfly-pr-4865.surge.sh A11y report: https://patternfly-pr-4865-a11y.surge.sh |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@srambach I like the approach here. Agree that it seems much clearer. @mceledonia @mmenestr perhaps also take a look?
Agreed, this looks much cleaner/clearer!! Thanks @srambach |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great!! A couple of small nits in case you have time to update in the morning. Otherwise we can go ahead and merge for the release and update later.
{{#> form-field-group-header}} | ||
{{#> form-field-group-header-main}} | ||
{{#> form-field-group-title}} | ||
{{#> form-field-group-title-text}}Field group 1{{/form-field-group-title-text}} | ||
{{#> form-field-group-title-text}}Field group Title{{/form-field-group-title-text}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit - sentence case?
{{#> form-field-group-title-text}}Field group Title{{/form-field-group-title-text}} | |
{{#> form-field-group-title-text}}Field group title{{/form-field-group-title-text}} |
{{/label-group-list}} | ||
{{/label-group-main}} | ||
{{/label-group}} | ||
{{#> text-input-group-text}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there is some indentation off in this file (more than this spot). Just a nit if you have time, not required to merge though.
{{#> form-group form-group--id=(concat form-field-group--id "-add-readiness")}} | ||
|
||
{{#> form-group-control}} | ||
{{#> button button--modifier="pf-m-link pf-m-inline"}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
indentation off
🎉 This PR is included in version 4.196.5 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Simplifies the existing nested field group example to scope it to just nested field groups, and moves and expands the existing demo to the HTML demos.
Fixes #4148