Skip to content

TextInput's help could allow for a full component instead of a string only #302

Description

@davinotdavid

We have a help prop that is currently a string which has been great so far. However, it is not very flexible since we can't pass in full components there. If we have it as a slot instead that defaults to the passed prop we could do virtually anything instead.

A good use case for having a full component there is to have a help with a button in it. For instance having a help that says "Did you mean ____?" where ____ is a link button that updates the input itself.

Ref thunderbird/thunderbird-accounts#1063

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions