patternfly / patternfly/patternfly-react

Checkbox/Radio - allow flow content as body

Open
#9,111 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Pinned
Dominant language
TypeScript
Stars
862
Forks
392
Avg merge
4d 8h
Merged PRs (30d)
9

Description

Is this a new component or an extension of an existing one?

Existing components, Checkbox and Radio.

Describe the feature

To allow flow content for their body prop. Currently it's wrapped in a span element, which only admits phrasing content.

Are there visuals for this feature? If applicable, please include examples for each state and for varying widths

I don't think so.

Any other information?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Checkbox and Radio components and inspect how their body prop is wrapped, including the isLabelWrapped behavior referenced in the issue. Determine whether flow content can be supported without breaking the existing label behavior; done means both components accept the intended content, or the Checkbox documentation clearly states that body content must be phrasing content.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.