Could you tell me if it is possible to get the value of a Javascript field and pass it to a Laravel Livewire property:
First I load in an input with Javascript the following value:
document.getElementById('lat-span').value = (place.geometry['location'].lat());
This loads the input with the value, now I tried to retrieve that value with wire: model and it appears null, I understand that it is not done the way I had in mind:
<input wire:model="latitud" value="lat-span" id="lat-span" />
How can I directly pass this javascript value to Livewire property?