Skip to content

TextInput hint does accept an element as well as a string, which is great but typescript complains #293

Closed

Description

@Peter-Hudson-G

If you pass an element for the hint on the TextInput TypeScript it throws the error: Type 'Element' is not assignable to type 'string'

Activity

  1. changed the title [-]Radio hint does accept an element as well as a string, which is great but typescript complains[/-] [+]TextInput hint does accept an element as well as a string, which is great but typescript complains[/+] on Oct 21, 2025
  2. Peter-Hudson-G commented on Oct 21, 2025

    @Peter-Hudson-G
    ContributorAuthor

    I've created #294 to hopefully fix this.

  3. added this to the v6.0.0 milestone on Oct 27, 2025
  4. colinrotherham commented on Nov 7, 2025

    @colinrotherham
    Collaborator

    Closed by #294

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions