mantinedev / mantine

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

TimeInput shows clock icon by default #5941

Closed atumas-bananamilk closed 8 months ago

atumas-bananamilk commented 8 months ago

Dependencies check up

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

^7.6.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

Some clock icon is visible on the TimeInput component by default, that I'm unable to remove. How to remove it?

I've tried adding rightSection with some custom button, so now there's 1 button + 1 icon there.

Screenshot 2024-03-18 at 15 55 58

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

https://codesandbox.io/p/sandbox/mantine-react-template-forked-ffnnxl

Possible fix

No response

Self-service

atumas-bananamilk commented 8 months ago

Turns out I needed to add this: import '@mantine/dates/styles.css';