Latest update makes forms to fail to load
-
Hi Kaisar,
With the latest update I am getting this error in the console and the form no longer loads on the page:
Uncaught TypeError: Cannot read properties of undefined (reading 'Autocomplete')
at String.<anonymous> (map_data.js?ver=1.3.1:54:51)
at Function.each (jquery.js:3:5257)
at HTMLDocument.<anonymous> (map_data.js?ver=1.3.1:14:8)
at HTMLDocument.dispatch (jquery.js:3:28337)
at v.handle (jquery.js:3:25042)
at Object.trigger (jquery.js:3:27423)
at HTMLDocument.<anonymous> (jquery.js:4:3107)
at Function.each (jquery.js:3:5257)
at init.each (jquery.js:3:2013)
at init.trigger (jquery.js:4:3083)The call throwing this error is in map_data.js line 54
var autocomplete = new google.maps.places.Autocomplete(
document.getElementById(inputFull),
{
options,
}
);I’ve found if I revert the
&loading=async
addition on line 31 in class-frontend.php then the forms work again including address autofill.Any thoughts on why this might be? Or anyone else having issues?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.