Im trying to launch my modal upon click event on map.
I've got a function that launches an alert which passes in data for country from the library but I'm trying to launch a modal which autofills same data in 'country' field.
This is my function that generates alert
Im trying to launch my modal upon click event on map. I've got a function that launches an alert which passes in data for country from the library but I'm trying to launch a modal which autofills same data in 'country' field. This is my function that generates alert
and this is my modal
any idea how to launch modal instead and pass in data?