mui-x icon indicating copy to clipboard operation
mui-x copied to clipboard

[pickers] AdapterMomentJalaali breaks when selecting date

Open Amin-Fathi opened this issue 1 year ago • 6 comments
trafficstars

Related page

https://mui.com/x/react-date-pickers/calendar-systems/

Kind of issue

Unclear explanations

Issue description

I need example with AdapterMomentJalaali , when use this library i have bug, when open modal calendar and click on the day this day convert to 1 and then not work any thing. Example problem

Screenshot 2024-04-16 111738

@types/moment-jalaali": "^0.7.9", "moment": "^2.30.1", "moment-jalaali": "^0.10.0", "@mui/lab": "^5.0.0-alpha.169", "@mui/material": "^5.15.14", "@mui/x-date-pickers": "^7.2.0",

Context

No response

Search keywords: AdapterMomentJalaali

Amin-Fathi avatar Apr 16 '24 07:04 Amin-Fathi

@LukasTy I am lost on this one 🤷🏼 Could you maybe provide some info?

michelengelen avatar Apr 16 '24 12:04 michelengelen

I am lost on this one 🤷🏼 Could you maybe provide some info?

I haven't investigated it yet. Firstly, does it work on v6? 🤔

LukasTy avatar Apr 16 '24 12:04 LukasTy

Example: https://stackblitz.com/edit/vitejs-vite-nw71cx?file=src%2FApp.tsx @LukasTy @michelengelen 🙏🙏

Amin-Fathi avatar Apr 17 '24 08:04 Amin-Fathi

@Amin-Fathi @michelengelen I've tracked down that the issue started happening from v6.4.0. So, it looks like a regression. 🙈

LukasTy avatar Apr 17 '24 09:04 LukasTy

I guess the main suspect is #8735 then :cry:

flaviendelangle avatar Apr 17 '24 09:04 flaviendelangle

I have exactly this problem ! By selecting a date, it is not possible to change it and it will not work.

shahlamahdavi68 avatar Apr 17 '24 11:04 shahlamahdavi68

:warning: This issue has been closed. If you have a similar problem but not exactly the same, please open a new issue. Now, if you have additional information related to this issue or things that could help future readers, feel free to leave a comment.

@Amin-Fathi: How did we do? Your experience with our support team matters to us. If you have a moment, please share your thoughts in this short Support Satisfaction survey.

github-actions[bot] avatar May 16 '24 09:05 github-actions[bot]