@bigbinary/neetoui 5.1.3 → 5.1.4

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/formik.cjs.js CHANGED
@@ -17704,7 +17704,7 @@ var ScrollToErrorField = function ScrollToErrorField(_ref) {
17704
17704
  isValidatedReference.current = true;
17705
17705
  var fieldErrorName = getErrorFieldName(errors);
17706
17706
  if (!fieldErrorName) return;
17707
- var errorFormElement = formRef.current.querySelector("[name=".concat(fieldErrorName, "]"));
17707
+ var errorFormElement = formRef.current.querySelector("[name=\"".concat(fieldErrorName, "\"]"));
17708
17708
  errorFormElement === null || errorFormElement === void 0 ? void 0 : errorFormElement.scrollIntoView({
17709
17709
  behavior: "smooth",
17710
17710
  block: "center"