From c8d4f69854e125ebbd7b0cde3ec847c61df95e61 Mon Sep 17 00:00:00 2001 From: Tomas Plevko Date: Wed, 20 Nov 2024 12:42:48 +0100 Subject: [PATCH] fix(1627): Unexpected logs for PasswordField.test.tsx --- packages/ui/src/components/Form/customField/PasswordField.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ui/src/components/Form/customField/PasswordField.tsx b/packages/ui/src/components/Form/customField/PasswordField.tsx index f86a2a5f9..3930b98f7 100644 --- a/packages/ui/src/components/Form/customField/PasswordField.tsx +++ b/packages/ui/src/components/Form/customField/PasswordField.tsx @@ -47,7 +47,7 @@ const PasswordFieldComponent = ({ onChange, ...props }: PasswordFieldProps) => { placeholder={props.placeholder} ref={props.inputRef} type={passwordHidden ? 'password' : 'text'} - value={props.value} + value={props.value ?? ''} {...filterDOMProps(props)} />