Skip to content

Allow setting the input type #421

@lars-ewers

Description

@lars-ewers

I was just trying to change the type of the underlying input to "email" or "tel".
I need this to get the corresponding keyboard on iOS.

I tried to use the inputProps prop, which is working for any prop but not "type". Using the following code, I still get an input type of text.

<AsyncTypeahead inputProps={{ type: "email" }} ... ></AsyncTypeahead >

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions