Skip to content

Commit

Permalink
fix(password-input): apply layout size class (#14603)
Browse files Browse the repository at this point in the history
  • Loading branch information
janhassel authored Sep 8, 2023
1 parent ca3579b commit ea1b1c9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/react/src/components/TextInput/PasswordInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,8 @@ const PasswordInput = React.forwardRef(function PasswordInput(
[`${prefix}--text-input--light`]: light,
[`${prefix}--text-input--invalid`]: normalizedProps.invalid,
[`${prefix}--text-input--warning`]: normalizedProps.warn,
[`${prefix}--text-input--${size}`]: size,
[`${prefix}--text-input--${size}`]: size, // TODO: V12 - Remove this class
[`${prefix}--layout--size-${size}`]: size,
}
);
const sharedTextInputProps = {
Expand Down

0 comments on commit ea1b1c9

Please sign in to comment.