Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FormsyAutoComplete no longer opens autocomplete menu (formsy-material-ui ^0.6.0) #211

Open
charleskoehl opened this issue Apr 22, 2017 · 1 comment

Comments

@charleskoehl
Copy link

To repro, open package.json in the webpack-example, update to the latest formsy and material-ui dependencies, npm install, npm start, and go to localhost:3000. The autocomplete field no longer opens the autocomplete menu when you type a valid character such as "N" or "n".

Here are the dependencies I tried it with:

  "dependencies": {
    "formsy-react": "^0.19.2",
    "formsy-material-ui": "^0.6.0",
    "material-ui": "^0.17.4",
    "react": "^15.5.4",
    "react-dom": "^15.5.4",
    "react-tap-event-plugin": "^2.0.1"
  }
@charleskoehl
Copy link
Author

I've narrowed down the cause to line 69 of FormsyAutoComplete.jsx, which overwrites the onChange handler of material-ui/AutoComplete so that it can't open its menu. If I remove line 69, the menu opens when I type the beginning of a valid search string.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant