Skip to content

Commit

Permalink
[@mantine/core] PasswordInput: Fix inputContainer and iconWidth props…
Browse files Browse the repository at this point in the history
… not working
  • Loading branch information
rtivital committed Oct 18, 2022
1 parent 97d7b75 commit 44a58be
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/mantine-core/src/PasswordInput/PasswordInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ export const PasswordInput = forwardRef<HTMLInputElement, PasswordInputProps>((p
unstyled,
visibilityToggleLabel,
withAsterisk,
inputContainer,
iconWidth,
inputWrapperOrder,
visible,
defaultVisible,
Expand Down Expand Up @@ -166,6 +168,7 @@ export const PasswordInput = forwardRef<HTMLInputElement, PasswordInputProps>((p
unstyled={unstyled}
withAsterisk={withAsterisk}
inputWrapperOrder={inputWrapperOrder}
inputContainer={inputContainer}
{...systemStyles}
{...wrapperProps}
>
Expand All @@ -183,6 +186,7 @@ export const PasswordInput = forwardRef<HTMLInputElement, PasswordInputProps>((p
rightSection={!disabled && rightSection}
variant={variant}
unstyled={unstyled}
iconWidth={iconWidth}
>
<input
type={_visible ? 'text' : 'password'}
Expand Down

0 comments on commit 44a58be

Please sign in to comment.