Skip to content

feat: support custom stacked form column widths and help text under the label#1357

Merged
Ninfa-Jeon merged 1 commit intocanonical:mainfrom
huwshimi:stacked-form-improvements
Apr 24, 2026
Merged

feat: support custom stacked form column widths and help text under the label#1357
Ninfa-Jeon merged 1 commit intocanonical:mainfrom
huwshimi:stacked-form-improvements

Conversation

@huwshimi
Copy link
Copy Markdown
Contributor

Done

  • support stacked fields with custom column widths and help under the label to support this design:
Screenshot 2026-04-24 at 5 37 09 pm

QA

Pinging @canonical/react-library-maintainers for a review.

Storybook

To see rendered examples of all react-components, run:

yarn start

QA in your project

from react-components run:

yarn build
npm pack

Install the resulting tarball in your project with:

yarn add <path-to-tarball>

QA steps

  • Open FormikField.stories.tsx.
  • In the fields example add the props:
    helpAfterLabel: true,
    help: "hi",
    stacked: true,
    stackedFieldColumns: 2,
    stackedLabelColumns: 2,
  • open the formikfield page in storybook and you should see the help under the label and the reduced column widths.

@huwshimi huwshimi changed the title feat: feat: support custom stacked form column widths and help text under the label Apr 24, 2026
Copy link
Copy Markdown
Contributor

@Ninfa-Jeon Ninfa-Jeon left a comment

Choose a reason for hiding this comment

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

Thanks, Huw!

@Ninfa-Jeon Ninfa-Jeon merged commit 459b9de into canonical:main Apr 24, 2026
9 of 10 checks passed
@github-actions
Copy link
Copy Markdown

🎉 This PR is included in version 4.4.0 🎉

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants