Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DatePickerInput: React does not recognize the highlightToday prop on a DOM element. #6471

Closed
1 of 2 tasks
Rllyyy opened this issue Jun 28, 2024 · 1 comment
Closed
1 of 2 tasks
Labels
Fixed patch Completed issues that will be published with next patch (1.0.X)

Comments

@Rllyyy
Copy link

Rllyyy commented Jun 28, 2024

Dependencies check up

  • I have verified that I use latest version of all @mantine/* packages

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

7.11.0

What package has an issue?

@mantine/dates

What framework do you use?

Next.js

In which browsers you can reproduce the issue?

All

Describe the bug

Adding highlightToday prop to DatePickerInput gives the following warning in the console:

Warning: React does not recognize the `highlightToday` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `highlighttoday` instead. If you accidentally passed it from a parent component, remove it from the DOM element.

highlightToday works fine with Calendar and DatePicker

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

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

Possible fix

No response

Self-service

  • I would be willing to implement a fix for this issue
@rtivital rtivital added the Fixed patch Completed issues that will be published with next patch (1.0.X) label Jun 28, 2024
@rtivital
Copy link
Member

rtivital commented Jul 2, 2024

Fixed in 7.11.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fixed patch Completed issues that will be published with next patch (1.0.X)
Projects
None yet
Development

No branches or pull requests

2 participants