Skip to content

[SelectField] Browser address autofill does not work when used for the state field  #6324

@gmacciocca

Description

@gmacciocca

Description

I have an address form where for the "state" two letter code, I use material-ui SelectField. Problem is that this SelectField does not autofill with the correct state code, when the browser proposes an autofill address. All other text fields (address, city, zip-code) autofill correctly. I've tested this with Chrome/Firefox/IE/Edge/Safari.
I posted this question on stackoverflow a few days ago, but received no answer.
http://stackoverflow.com/questions/42616428/browser-address-autofill-does-not-fill-a-state-selectfield-element

Images & references

You can test this on my github,io deployment here:
https://gmacciocca.github.io/coffee-with-congress

Problem description

The SelectField for the state does not fill in response to the autofill data provided by the browser.

Link to minimally-working code that reproduces the issue

https://gmacciocca.github.io/coffee-with-congress

Versions

  • Material-UI: 0.17.0
  • React: 15.3.2
  • Browser: Chrome/Firefox/IE/Edge/Safari

Metadata

Metadata

Assignees

No one assigned

    Labels

    scope: selectChanges related to the select.type: bugIt doesn't behave as expected.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions