Issue with Date Picker #7045
Unanswered
Minhazul-Islam18
asked this question in
Q&A
Replies: 1 comment 1 reply
-
@rtivital , Sorry to mention. Can you help me to get rid of it? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey, I am stacked with a problem with Datepicker. I'm describing below :
When I tried to use Datepicker like:
<DateTimePicker label="Ends On" {...register("endTime", { required: "This field is required", })} />
It's showing broken (See attachment):
But using MODAL is fine:
<DateTimePicker label="Ends On" dropdownType="modal" {...register("endTime", { required: "This field is required", })} />
See Attachment:
Packages.json:
"@mantine/core": "^6.0.22", "@mantine/dates": "^6.0.21",
App.jsx:
`import React, { useState } from "react";
import { createRoot } from "react-dom/client";
import { createInertiaApp } from "@inertiajs/react";
import { resolvePageComponent } from "laravel-vite-plugin/inertia-helpers";
import { ColorSchemeProvider, MantineProvider } from "@mantine/core";
import DefaultTheme from "./Pages/Store/DefaultTheme";
import { Notifications } from "@mantine/notifications";
const AppWrapper = ({ App, props }) => {
const [colorScheme, setColorScheme] = useState("light");
};
createInertiaApp({
progress: {
color: "#ff6243",
showSpinner: true,
},
resolve: (name) =>
resolvePageComponent(
./Pages/${name}.jsx
,import.meta.glob("./Pages/**/*.jsx")
),
setup({ el, App, props }) {
createRoot(el).render();
},
});
`
Thanks in Advance.
Beta Was this translation helpful? Give feedback.
All reactions