skip to Main Content

Reactjs – mui/x-date-pickers version 6.x question: how to customize year & month format on date picker?

<LocalizationProvider dateAdapter={AdapterLuxon} adapterLocale={"ja"} localeText={jaJP.components.MuiLocalizationProvider.defaultProps.localeText}> <DatePicker {...field} label="testlabel" slotProps={{ textField: { variant: "outlined", name: "testDate" }, toolbar: { hidden: true }, }} /> </LocalizationProvider> with the code above, I get this ↓ Does anyone know how I can change '6 2023'…

VIEW QUESTION
Back To Top
Search