@bigbinary/neetoui 5.1.2 → 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.js CHANGED
@@ -17677,7 +17677,7 @@ var ScrollToErrorField = function ScrollToErrorField(_ref) {
17677
17677
  isValidatedReference.current = true;
17678
17678
  var fieldErrorName = getErrorFieldName(errors);
17679
17679
  if (!fieldErrorName) return;
17680
- var errorFormElement = formRef.current.querySelector("[name=".concat(fieldErrorName, "]"));
17680
+ var errorFormElement = formRef.current.querySelector("[name=\"".concat(fieldErrorName, "\"]"));
17681
17681
  errorFormElement === null || errorFormElement === void 0 ? void 0 : errorFormElement.scrollIntoView({
17682
17682
  behavior: "smooth",
17683
17683
  block: "center"