@rationalbloks/frontblok-components 0.2.3 → 0.2.5
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/index.cjs +3 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -545,6 +545,7 @@ function createNavbar(config) {
|
|
|
545
545
|
anchorEl,
|
|
546
546
|
open: isMenuOpen,
|
|
547
547
|
onClose: handleMenuClose,
|
|
548
|
+
disableScrollLock: true,
|
|
548
549
|
anchorOrigin: {
|
|
549
550
|
vertical: "bottom",
|
|
550
551
|
horizontal: "right"
|
|
@@ -735,8 +736,8 @@ const AuthView = ({
|
|
|
735
736
|
setLocalError("Passwords do not match");
|
|
736
737
|
return false;
|
|
737
738
|
}
|
|
738
|
-
if (formData.password.length <
|
|
739
|
-
setLocalError("Password must be at least
|
|
739
|
+
if (formData.password.length < 8) {
|
|
740
|
+
setLocalError("Password must be at least 8 characters");
|
|
740
741
|
return false;
|
|
741
742
|
}
|
|
742
743
|
}
|