Skip to content

fix(CheckboxInput & RadioInput): add Field to expose error help and other props used by Input#1384

Open
kimanhou wants to merge 3 commits into
canonical:mainfrom
kimanhou:checkbox-input-improvement
Open

fix(CheckboxInput & RadioInput): add Field to expose error help and other props used by Input#1384
kimanhou wants to merge 3 commits into
canonical:mainfrom
kimanhou:checkbox-input-improvement

Conversation

@kimanhou

Copy link
Copy Markdown
Contributor

Done

  • Add Field wrapper around CheckboxInput and RadioInput to expose error, help and other props used by Input.
    This enhancement will allow us to stop using <Input type="checkbox" /> and <Input type="radio" /> and only use the dedicated components CheckboxInput and RadioInput instead.

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

  • Steps for QA.

Percy steps

  • No visual changes expected on existing stories.
  • New stories added for CheckboxInput and RadioInput

@kimanhou kimanhou force-pushed the checkbox-input-improvement branch from 2d9629f to 3459de5 Compare June 19, 2026 07:23
@kimanhou kimanhou changed the title Checkbox input improvement fix(CheckboxInput & RadioInput): add Field to expose error help and other props used by Input Jun 19, 2026
@kimanhou kimanhou marked this pull request as ready for review June 19, 2026 08:32
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.

1 participant