From b24c6ae98ddefd64f3f8398069fa6492773a431b Mon Sep 17 00:00:00 2001 From: Anil Singha <99383116+anilsingha-eGov@users.noreply.github.com> Date: Fri, 19 Apr 2024 16:19:50 +0530 Subject: [PATCH] Added password not taking props --- .../packages/react-components/src/atoms/Password.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/micro-ui/web/micro-ui-internals/packages/react-components/src/atoms/Password.js b/frontend/micro-ui/web/micro-ui-internals/packages/react-components/src/atoms/Password.js index e48d11618..f8d9234cc 100644 --- a/frontend/micro-ui/web/micro-ui-internals/packages/react-components/src/atoms/Password.js +++ b/frontend/micro-ui/web/micro-ui-internals/packages/react-components/src/atoms/Password.js @@ -27,8 +27,8 @@ const Password = (props) => { ref={props.inputRef} value={props.value} style={{ ...props.style }} - minLength={props.minlength} - maxLength={props.maxlength} + minLength={props.minlength || 10} + maxLength={props.maxlength || 10} max={props.max} min={props.min} readOnly={props.disable}