Comments (5)
Hi,
Thanks for your contribution.
Could you provide a working reproduction, this Codesandbox template might be a good starting point.
My guess is that you are passing a non-dayjs value to one of the pickers so our library fails to manipulate it.
from mui-x.
Hello @thecowmilk
It looks like you are using @mui/x-date-pickers
v6, based on the envinfo
report, but your component usage is still left in the v5 style.
Please follow the migration guide first and report back if you are still having issues after that. 🙏
from mui-x.
I fixed this by commenting where the DesktopDatePicker was used the most however I'd probably look for a solution more rather than a workaround.
from mui-x.
Hello @thecowmilk It looks like you are using
@mui/x-date-pickers
v6, based on theenvinfo
report, but your component usage is still left in the v5 style. Please follow the migration guide first and report back if you are still having issues after that. 🙏
This is very true, now that I'm looking it was a 5.0.16 version. I will revert back to the original version for development purposes then I will take another time to update all the components. Thank You!
from mui-x.
hi,
<DesktopDatePicker
disablePast
className={flagdate && "border border-danger"}
label={t("Date")}
required
inputFormat="MM/DD/YYYY"
value={categorydate}
onChange={(e) => {
fnCategoryDate(e);
inputEvent(e);
}}
renderInput={(params) => <TextField {...params} name="date" />}
/>
{formErrors.date && (
{formErrors.date}
)}
If you take the value here as dayjs(categorydate) it will work fine.
from mui-x.
Related Issues (20)
- [pickers] Build error because of `@mui/utils/clamp` HOT 7
- [data grid] Filter panel columns customize HOT 3
- [pickers][DateRangePicker] Separately disable start and end date picking HOT 4
- [data grid] Multi Selection functionality in the Columns visibility panel HOT 1
- [data grid] `valueGetter` row is always never HOT 3
- [license] I just bought a new license and got a new license key, but I don't want to change my previous key. HOT 5
- [data grid] Is there a property to tell the grouping row column to ignore the valueFormatter/renderCell ? HOT 1
- [data grid] How do I save the filtered row data to state? HOT 6
- [pickers] Create RTL demo example HOT 2
- [data grid] Warn when `scrollToIndexes` has invalid arguments HOT 2
- [data grid] RenderHeader value is not being used in manage column component ? HOT 3
- [data grid] The cell selection color is not being applied HOT 2
- [data grid] Show/Hide All Columns, if all columns are hidden, unable to restore visibility. HOT 2
- [data grid] add "is not any of " in "singleSelect" type for filters HOT 1
- [Time Picker] button tomorrow HOT 2
- [charts] `categoryGapRatio` & `barGapRatio` is not a known property of `ChartXAxis` HOT 5
- [charts][docs] Need to document how to create a custom tooltip axisContent HOT 5
- [data grid] Change child table width on change of parent table HOT 2
- [data grid] tree collapses when controlled row selection is used HOT 4
- Please add documentation for preventing SSR flicker/FOUC with the Next.js app router [docs]
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mui-x.