Skip to content

Helper text attribute for input components #2588

@fredvisser

Description

@fredvisser

🙋 Feature Request

😯 Problem to Solve

The control text pattern, documents the use of Helper text that:

  • Optional, provides information to help users enter values correctly.
    • Include in Helper text if most users need it.
    • Include in Toggle tip if only a few users need it.
  • Do not use Placeholder text for information users may need while entering data.
  • Prefer sentence fragments, but use full sentences as necessary to ensure clarity for complex information.
Image

…but we do not current support helper text as a first-class attribute for nimble input controls.

💁 Proposed Solution

  • Add a helper-text and helper-visible attribute to each of the number-field, text-field, select, and combobox components.
  • Consider adding to the radio-group, and switch components.
  • If both helper and error text are configured to be shown, error text would win

📋 Tasks

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions