Google maps api with livewire

What seems to be the problem:
I can’t bind the value set in js with element id with livewire props. How can I achieve it?

Steps to Reproduce:
image

Are you using the latest version of Livewire:
Yes
Do you have any screenshots or code examples:
Steps to reproduce

I’m new to livewire and have run into a similar issue. I found that if I dispatched my event in the JS after setting the input values it worked. Try something like this:

latitudeField.value = place.geometry.location.lat();
longitudeField.value = place.geometry.location.lng();

var ev = new InputEvent("input");
latitudeField.dispatchEvent(ev);
longitudeField.dispatchEvent(ev);

Hope that helps.