@formio/js 5.0.0-dev.5647.4cf82e8 → 5.0.0-dev.5651.a930364
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/formio.form.js +1 -1
- package/dist/formio.form.min.js +1 -1
- package/dist/formio.full.js +1 -1
- package/dist/formio.full.min.js +1 -1
- package/dist/formio.js +1 -1
- package/dist/formio.min.js +1 -1
- package/lib/cjs/providers/address/GoogleAddressProvider.js +1 -1
- package/lib/mjs/providers/address/GoogleAddressProvider.js +1 -1
- package/package.json +1 -1
|
@@ -19,7 +19,7 @@ class GoogleAddressProvider extends AddressProvider_1.AddressProvider {
|
|
|
19
19
|
var _a;
|
|
20
20
|
super(options);
|
|
21
21
|
this.setAutocompleteOptions();
|
|
22
|
-
let src = 'https://maps.googleapis.com/maps/api/js?v=quarterly&libraries=places&callback=googleMapsCallback';
|
|
22
|
+
let src = 'https://maps.googleapis.com/maps/api/js?v=quarterly&libraries=places&loading=async&callback=googleMapsCallback';
|
|
23
23
|
if ((_a = options.params) === null || _a === void 0 ? void 0 : _a.key) {
|
|
24
24
|
src += `&key=${options.params.key}`;
|
|
25
25
|
}
|
|
@@ -12,7 +12,7 @@ export class GoogleAddressProvider extends AddressProvider {
|
|
|
12
12
|
constructor(options = {}) {
|
|
13
13
|
super(options);
|
|
14
14
|
this.setAutocompleteOptions();
|
|
15
|
-
let src = 'https://maps.googleapis.com/maps/api/js?v=quarterly&libraries=places&callback=googleMapsCallback';
|
|
15
|
+
let src = 'https://maps.googleapis.com/maps/api/js?v=quarterly&libraries=places&loading=async&callback=googleMapsCallback';
|
|
16
16
|
if (options.params?.key) {
|
|
17
17
|
src += `&key=${options.params.key}`;
|
|
18
18
|
}
|