Skip to content

Support HelpText/FieldError for standalone Checkbox, Radio, and Switch #6192

Open
@LFDanLu

Description

@LFDanLu

Provide a general summary of the feature here

We will want to support HelpText/FieldError for standalone Checkbox and Radio. Switch should support just HelpText.

🤔 Expected Behavior?

The api should look something like this (naming of the wrapper to be finalized):

<CheckboxField>
   <Checkbox>Unsubscribe</Checkbox>
   <Text slot="description">Description here.</Text>
   <FieldError />
</CheckboxField>

Note that the field error context will need to be set in the wrapper

😯 Current Behavior

HelpText/FieldError isn't supported for any of these components yet

💁 Possible Solution

No response

🔦 Context

These are all valid use cases for these components, we just didn't add support for them yet

💻 Examples

No response

🧢 Your Company/Team

RSP

🕷 Tracking Issue

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    • Status

      🩺 To Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions