Skip to content

Commit 9969425

Browse files
committed
[@mantine/dates] DatePickerInput: Fix placeholder Styles API selector not working (#8405)
1 parent 196e38d commit 9969425

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

packages/@mantine/dates/src/components/PickerInputBase/PickerInputBase.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,8 +192,9 @@ export const PickerInputBase = factory<PickerInputBaseFactory>((_props, ref) =>
192192
<Input.Placeholder
193193
error={inputProps.error}
194194
unstyled={unstyled}
195-
className={(classNames as any)?.placeholder}
196-
style={(styles as any)?.placeholder}
195+
classNames={classNames}
196+
styles={styles}
197+
__staticSelector={inputProps.__staticSelector}
197198
>
198199
{placeholder}
199200
</Input.Placeholder>

0 commit comments

Comments
 (0)