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

chore(form): add complex form demo #4865

Merged
merged 1 commit into from
May 27, 2022

Conversation

srambach
Copy link
Member

@srambach srambach commented May 23, 2022

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

@patternfly-build
Copy link

patternfly-build commented May 23, 2022

@srambach srambach requested review from mcoker and mcarrano May 23, 2022 15:57
Copy link
Member

@mcarrano mcarrano left a 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?

@mmenestr
Copy link

Agreed, this looks much cleaner/clearer!! Thanks @srambach

Copy link
Contributor

@mcoker mcoker left a 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}}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit - sentence case?

Suggested change
{{#> 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}}
Copy link
Contributor

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"}}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

indentation off

@mcoker mcoker merged commit 0900f10 into patternfly:main May 27, 2022
@patternfly-build
Copy link

🎉 This PR is included in version 4.196.5 🎉

The release is available on:

Your semantic-release bot 📦🚀

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.

Form - field group demos
5 participants