mantinedev / mantine

A fully featured React components library
https://mantine.dev
MIT License
26.97k stars 1.9k forks source link

FileInput - cannot style Placeholder #7202

Closed PandasProperty closed 3 hours ago

PandasProperty commented 5 hours ago

Dependencies check up

What version of @mantine/* packages do you have in package.json?

7.12.2

What package has an issue?

@mantine/core

What framework do you use?

Next.js

In which browsers you can reproduce the issue?

All

Describe the bug

I have this component

<$FileInput ref={ref} {...props} classNames={{ root: '', input: '!h-11 input-area-fields-no-padding !justify-start !font-medium placeholder:!text-red-500 !text-black-black/50', wrapper: '!border-black-black/15', placeholder: '!font-medium !text-red-500 !truncate', section: '', }} />

None of my placeholder class names apply.

If possible, include a link to a codesandbox with a minimal reproduction

No response

Possible fix

No response

Self-service

rtivital commented 3 hours ago

You do not use the latest version. Update to 7.14.3.