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

Autocomplete address #37

Closed
yannickmathey opened this issue Nov 1, 2018 · 5 comments
Closed

Autocomplete address #37

yannickmathey opened this issue Nov 1, 2018 · 5 comments
Labels
bug Something isn't working fixed

Comments

@yannickmathey
Copy link
Contributor

yannickmathey commented Nov 1, 2018

If autocomplete does not work as expected, the formatge of this address could lead to an error. On my quote view I have the right infos (or seems to be fine) but when I try to send my proposals I get this error:

Uncaught (in promise) Error: GraphQL error: Cannot read property 'street' of null
@yannickmathey
Copy link
Contributor Author

same issue?

capture d ecran 2018-11-01 a 21 20 03

@FranzPoize FranzPoize added the bug Something isn't working label Nov 6, 2018
@FranzPoize
Copy link
Contributor

It would be good to provide an input that makes the autocomplete crash.

@Aldrian
Copy link
Contributor

Aldrian commented Nov 9, 2018

Could you retry, see if it's fixed on develop?

@yannickmathey
Copy link
Contributor Author

It is because I have a suggestion list from Chrome on the top + the one of the autocomplete under the input:

capture d ecran 2018-11-09 a 18 03 10

If I choose an address from the list on top, it doesn't fill the infos in the right format (I guess). So the address is incomplete in the database and probably generates this issue.

@yannickmathey
Copy link
Contributor Author

But now it seems that even if the list from my chrome is displayed, I can't click on it anymore. So it solves the issue.

May a autocomplete="off" could turn off the chrome list?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fixed
Projects
None yet
Development

No branches or pull requests

4 participants