-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[pickers] Allow reusing Year and Month button in slots #14066
Comments
I tried, but unfortunately I haven’t achieved any results yet. I would like to pass an array of certain years and in the calendar, if the year matches the value of my array, then somehow indicate it with a checkmark. Sorry if my question seemed stupid. |
@Kurt2189 Do you mean something like this? 🤔 Applying conditional mui-x/packages/x-date-pickers/src/YearCalendar/PickersYear.tsx Lines 59 to 102 in 5762b1d
|
"Sometimes it may be necessary to display additional info right in the calendar. The following demo shows how to add a badge on some day based on server-side data" but how i can this for month or year picker. I want add badge on month or year. |
@Kurt2189 To enable the exact same behavior, we would need to publicly expose the mentioned component and a similar component on the |
Related page
https://mui.com/x/react-date-pickers/date-calendar/
Kind of issue
Missing information
Issue description
I would like to know if it is possible to mark not only days, but also months and years on a calendar
Context
Dynamic year or month
Search keywords: Dynamic year or month
The text was updated successfully, but these errors were encountered: