-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
) Bug #24 discussed that the 'id' for the rendered <input> element couldn't be set contrary to what documentation said. The propblem was we were overwriting the user input for the 'id' value by spreading 'textFieldProps' onto the object passed to 'getInputProps()' first and then applying our own 'id'. This commit fixes the issue by spreading the 'textFieldProps' lastly after we set our own 'id'. modified: src/MUIPlacesAutocomplete.jsx modified: test/test.jsx
- Loading branch information
Showing
2 changed files
with
33 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters