thm-p3-configurator 0.0.121 → 0.0.122
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.
|
@@ -137,8 +137,12 @@ const LocationAutoComplete = _ref => {
|
|
|
137
137
|
placesService === null || placesService === void 0 || placesService.getDetails(detailRequestOptions, detailsRequestCallback);
|
|
138
138
|
(_document$querySelect = document.querySelector((0, _helpers__.withStyle)("dealer-autocomplete__list"))) === null || _document$querySelect === void 0 || _document$querySelect.scrollTo(0, 0);
|
|
139
139
|
}, [places, placesService, sessionToken, setUserLocation]);
|
|
140
|
+
const handleSubmit = event => {
|
|
141
|
+
event.preventDefault();
|
|
142
|
+
};
|
|
140
143
|
return /*#__PURE__*/_react.default.createElement("form", {
|
|
141
|
-
className: (0, _helpers__.withStyle)('dealer-autocomplete mb-2')
|
|
144
|
+
className: (0, _helpers__.withStyle)('dealer-autocomplete mb-2'),
|
|
145
|
+
onSubmit: handleSubmit
|
|
142
146
|
}, /*#__PURE__*/_react.default.createElement("label", {
|
|
143
147
|
className: (0, _helpers__.withStyle)('visually-hidden'),
|
|
144
148
|
htmlFor: "autocomplete"
|