Skip to content

Commit

Permalink
fix(1627): Unexpected logs for PasswordField.test.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
tplevko authored and lordrip committed Nov 21, 2024
1 parent f116596 commit c8d4f69
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)}
/>
<FormHelperText>
Expand Down

0 comments on commit c8d4f69

Please sign in to comment.