Skip to content

Commit ef43988

Browse files
committed
[@mantine/core] PasswordInput: Fix styles api props not resolving correctly in theme (#8716)
1 parent bac61d6 commit ef43988

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

packages/@mantine/core/src/components/PasswordInput/PasswordInput.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,7 @@ export const PasswordInput = factory<PasswordInputFactory>((_props, ref) => {
196196
classNames={resolvedClassNames}
197197
styles={resolvedStyles}
198198
__staticSelector="PasswordInput"
199+
__stylesApiProps={props}
199200
unstyled={unstyled}
200201
withAsterisk={withAsterisk}
201202
inputWrapperOrder={inputWrapperOrder}
@@ -220,6 +221,7 @@ export const PasswordInput = factory<PasswordInputFactory>((_props, ref) => {
220221
radius={radius}
221222
disabled={disabled}
222223
__staticSelector="PasswordInput"
224+
__stylesApiProps={props}
223225
rightSectionWidth={rightSectionWidth}
224226
rightSection={rightSection ?? visibilityToggleButton}
225227
variant={variant}

0 commit comments

Comments
 (0)