Skip to content

Browser Autocomplete/Autofill does not fill input despite user selection #101

@henrythe9th

Description

@henrythe9th

Hi,

Thanks for providing this plugin, it's been really helpful. I wanted to add the brower's html autoComplete = 'mobile tel' property to help users fill their phone numbers faster:

<Phone
            placeholder="Your Phone Number"
            value={ this.state.number }
            onChange={ number => {
              this.setState({ number })
            }}
            autoComplete='mobile tel'
/>   

While this does show the browser autocomplete dropdown on mobile and desktop:
image

When the user actually selects one of the options, the input does not change and there are no errors in the console.

Do you know why this might be and how we can go about solving this?

Thanks for your help in advance,
Henry

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions