@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.js
CHANGED
|
@@ -543,6 +543,7 @@ function createNavbar(config) {
|
|
|
543
543
|
anchorEl,
|
|
544
544
|
open: isMenuOpen,
|
|
545
545
|
onClose: handleMenuClose,
|
|
546
|
+
disableScrollLock: true,
|
|
546
547
|
anchorOrigin: {
|
|
547
548
|
vertical: "bottom",
|
|
548
549
|
horizontal: "right"
|
|
@@ -733,8 +734,8 @@ const AuthView = ({
|
|
|
733
734
|
setLocalError("Passwords do not match");
|
|
734
735
|
return false;
|
|
735
736
|
}
|
|
736
|
-
if (formData.password.length <
|
|
737
|
-
setLocalError("Password must be at least
|
|
737
|
+
if (formData.password.length < 8) {
|
|
738
|
+
setLocalError("Password must be at least 8 characters");
|
|
738
739
|
return false;
|
|
739
740
|
}
|
|
740
741
|
}
|