Code Monkey home page Code Monkey logo

Comments (18)

ThomasFlorelli avatar ThomasFlorelli commented on August 16, 2024 16

input[g-places-autocomplete] { display:initial!important } indeed does the job but please keep us posted

from angular-google-places-autocomplete.

wal-yaseen avatar wal-yaseen commented on August 16, 2024 12

changing the version to 3.30 fixes it for me.

<script src="https://maps.googleapis.com/maps/api/js?key=YOUR_KEY&v=3.30&libraries=places"></script>

3.31 also works. 3.32 seems to cause the issue
here are the version differences:
https://developers.google.com/maps/documentation/javascript/releases

from angular-google-places-autocomplete.

dagthomas avatar dagthomas commented on August 16, 2024 6

Just add a class/id to the input and do "display:initial!important" and it will work, atleast.

The only variable file, is <script src="https://maps.google.com/maps/api/js?key=xxx&libraries=places"></script> so guessing something might have happened there, an hour ago?

from angular-google-places-autocomplete.

MatMc avatar MatMc commented on August 16, 2024 4

I can confirm that changing the version to 3.31 is a viable workaround, the method call in my comment above was added in 3.32

from angular-google-places-autocomplete.

MatMc avatar MatMc commented on August 16, 2024 3

@chethannad this was caused by an update to Google's experimental version of the Places Service. Turns out that by default if you do not specify an API version you get the non-stable/non-release version (???) of the API. Specifying v3 when loading the API guarantees the latest stable version, while specifying v3.xx gets whatever sub-version you want. In this case 3.31 is the current release build and did not have this issue, but anyone who did not specify a version received 3.32 which is currently under development.

from angular-google-places-autocomplete.

krispy1298 avatar krispy1298 commented on August 16, 2024 1

After trying to debug this on a site, I found that the new Places Service for 3.32 has a required param. It needs to be passed a div element to inject the Google attribution text/logo.

from angular-google-places-autocomplete.

TuNi54 avatar TuNi54 commented on August 16, 2024 1

it seems to be fixed !

from angular-google-places-autocomplete.

kuhnza avatar kuhnza commented on August 16, 2024 1

Hi everyone, sorry to hear this issue has caused a bit of grief. As you can probably tell by the commit history that I haven't had any significant input into this lib for years now. I no longer have the need, time or desire to maintain it.

I'd happily hand over to anyone who wishes to take it on. If you're interested please let me know. Until such time as someone take it on you should treat this library as deprecated.

from angular-google-places-autocomplete.

itsHowlingWolf avatar itsHowlingWolf commented on August 16, 2024

Same issue here!

from angular-google-places-autocomplete.

harrisonlingard avatar harrisonlingard commented on August 16, 2024

Not working for me either - my apps are down :(

from angular-google-places-autocomplete.

martincrb avatar martincrb commented on August 16, 2024

Same here, the input is hiding with a display: none, anybody knows a workaround to make it visible? it works if i inspec and display it!

from angular-google-places-autocomplete.

trippo avatar trippo commented on August 16, 2024

i think is the file control.js that hide the input field, if you block this on network tab you can see the input... but nothing autocomplete work

from angular-google-places-autocomplete.

jpescada avatar jpescada commented on August 16, 2024

There are a few methods on util.js that trigger display: none. Might be related with this issue.

from angular-google-places-autocomplete.

MatMc avatar MatMc commented on August 16, 2024

The first time the _.ZA function is called in util.js is when the fields are being hidden. Which is being called from a method in places_impl.js that looks like _.ZA(a.b, !!a.get("attributionText") && !a.get("hide")).

from angular-google-places-autocomplete.

renjuramachandran avatar renjuramachandran commented on August 16, 2024

We were also facing the same issue for two days. But yesterday it seems to be fixed.

from angular-google-places-autocomplete.

chethannad avatar chethannad commented on August 16, 2024

It looks fixed but my client so serious on this issue and they requested an explanation and recommendations to monitor in future regarding this issue.
Please explain to me why we had this issue from google API

Thanks in advance

from angular-google-places-autocomplete.

chethannad avatar chethannad commented on August 16, 2024

Thank you @MatMc

from angular-google-places-autocomplete.

goneale avatar goneale commented on August 16, 2024

It does seem to be fixed without specifying a v parameter now, but it is a bit scary to leave it open-ended without one if the latest version is directing to experimental builds. If I see this problem happen one more time, I think I'll introduce the v parameter too. Thanks for the investigation @chethannad @wal-yaseen

from angular-google-places-autocomplete.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.