Another question:
when trying to concatenate two values ("road" and "house_numer" for example)
[
'name' => __( 'Street', 'your-text-domain' ),
'id' => $prefix . 'street',
'type' => 'text',
'address_field' => 'address',
'binding' => 'road + " " + house_number',
],
I get this error
geolocation.js?ver=1624388899:308 Uncaught ReferenceError: item is not defined
at geolocation.js?ver=1624388899:308
at Array.forEach (<anonymous>)
at Osm.getFieldData (geolocation.js?ver=1624388899:301)
at Osm.populateField (geolocation.js?ver=1624388899:52)
at geolocation.js?ver=1624388899:33
at Array.forEach (<anonymous>)
at Osm.populateFromAddress (geolocation.js?ver=1624388899:33)
at HTMLInputElement.<anonymous> (geolocation.js?ver=1624388899:253)
at HTMLInputElement.dispatch (load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=5.7.2:2)
at HTMLInputElement.v.handle (load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=5.7.2:2)