Comments (5)
I received this error today. I changed my form field values from strings, "2022-12-01T05:00:00.000Z", to dayjs dates,
dayjs("2022-12-01T05:00:00.000Z"), which has resolved the issue for me.
from devextreme-reactive.
Hello,
Reactive Scheduler doesn't support v6 of @mui/x-date-pickers
. This package contains a number of breaking changes that we didn't address. The issue you encountered occurs due to changes made to the value
property: Update the format of the value prop.
While we're not planning to migrate to v6, your idea to replace an editor is valid. I've modified my example as a starting point: CodeSandBox. Note that I used the AdapterMoment
adapter because Reactive Scheduler uses moment.js
internally. Anyway, I cannot guarantee that these new editors will work in all cases as we didn't test them. Please keep in mind that more changes may be needed depending on your Scheduler configuration.
from devextreme-reactive.
6.0.4 still error!
from devextreme-reactive.
its also work for me
<DesktopDateTimePicker
{...field}
value={dayjs(field.value)}
format={"DD MM YYYY HH:mm"}
slotProps={{ textField: { variant: 'outlined' } }}
/>}
from devextreme-reactive.
My current issue came from dx-react-scheduler not @mui/x-date-pickers itself,
dx-react-scheduler
not accept dayjs
object but native Date
object.
I tried this
const currentDate = dayjs("2023-03-28").toDate();
const events = mockupEventData?.map(
({ title, date, startDate, endDate, type }) => ({
startDate: dayjs(startDate).toDate(),
endDate: dayjs(endDate).toDate(),
title,
type,
})
);
return (
<Scheduler data={events}>
<ViewState currentDate={currentDate} />
<EditingState onCommitChanges={commitChanges} />
<IntegratedEditing />
<DayView startDayHour={8} endDayHour={20} />
<ConfirmationDialog />
<Appointments />
<AppointmentTooltip showOpenButton showDeleteButton />
<AppointmentForm />
<Resources data={resources} />
</Scheduler>
the error will appear when clicking to edit the appointment events
- I need to use some new features in @mui/x-date-pickers 6.0
- My workaround is
to install multiple @mui/x-date-pickers as npm name alias
from devextreme-reactive.
Related Issues (20)
- Warning: Failed prop type: The prop `groups` is marked as required in `HorizontalLayout`, but its value is `undefined`. at HorizontalLayout HOT 1
- Warning: Failed prop type: The prop `currentView.displayName` is marked as required in `Memo`, but its value is `undefined`. HOT 1
- Scheduler - some appointments are hidden by overlapping elements HOT 3
- Fixed row in DevExtremeREACTIVE HOT 1
- Colspan misalignement problem using groups and action custom columns HOT 1
- EditRecurrenceMenu doesn't show before onCommitChanges function is called HOT 2
- Support for ExcelJS version 4 HOT 1
- Certain styling broken by DX's migration to MUI v5 HOT 1
- rrule import (scheduler-core) error seems still to exist HOT 8
- Recurring event not handling daylight saving time HOT 2
- Sorting Column Extensions not removing previous sort column HOT 3
- Change Layout For TimeScale in DayView's mode HOT 2
- Show week number in scheduler HOT 1
- A dependency not working HOT 2
- Jerky scrolling with variable row heights in Virtual table HOT 2
- Empty Table header HOT 1
- Scheduler not fitting parent container HOT 2
- Need the right side layout of Appointment Form model. HOT 2
- Unexpected jump to top when scrolling down after Edge restart HOT 1
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 devextreme-reactive.