ratty-blush
ratty-blush9mo ago

Data picker MUI

I try to user the <DatePicker /> component from Material Ui, but this not show anything
2 Replies
kapa.ai
kapa.ai9mo ago
Hi @mauryo. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: ---------------------- I'm sorry, but the information provided in the knowledge sources is about the DatePicker component in the Ant Design System used by Refine, not Material UI. Refine is a React-based framework for building data-intensive applications and it ships with Ant Design System, an enterprise-level UI toolkit. If you're using Refine and facing issues with the DatePicker component, you can refer to the DatePicker example (https://refine.dev/docs/examples/inputs/datePicker/) provided in the Refine documentation. Here's a code snippet from the example:
<Form.Item
label="Published At"
name="publishedAt"
getValueProps={(value) => ({
value: value ? dayjs(value) : "",
})}
>
<DatePicker />
</Form.Item>
<Form.Item
label="Published At"
name="publishedAt"
getValueProps={(value) => ({
value: value ? dayjs(value) : "",
})}
>
<DatePicker />
</Form.Item>
If you're specifically looking for help with Material UI's DatePicker, I would recommend checking their official documentation (https://mui.com/components/date-picker/) or seeking help from a relevant forum or community. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
kapa.ai
kapa.ai9mo ago
<@737073867532796026> kapa.ai is still learning and improving, please let us know how it did by reacting below

Did you find this page helpful?