#How to use Only Monthly Picker in v5.8
24 messages Β· Page 1 of 1 (latest)
You can't, mine was using Select component with options of months
mantine Select Component is not props about month
how to I get there?
Make your own Select component and handle list of months like this
If you want to make it like that, you need to create it on your own with Month Component
https://mantine.dev/dates/month/
DatePicker component can not pick months only
Sorry, I was wrong, month component is for showing dates on a month, not for picking month
I guess mantine does not expose MonthPicker component,
thus, you need to create the component from the ground
got it, I have to install mantine v6?!
It is possible install only month-date-picker v6 (not install mantine v6, keeping mantine@core is v5.8)
There is no mantine v6
Wow, It Works! Thank you!π π
I use the new MonthPickerInput in 5.8 and it works like a charm. π
With the MonthPickerInput is there a way to choose a format for the output? e.g. YYYY-mm YYYY-MMM MMM, YYYY etc?
Nevermind - valueFormat={"MMMM, YYYY"} for those coming across this in future
Yeap I did it!
Do you support styles API in MonthDatePicker?!
I'd like to custom style
I'm trying to do this way
Is it right?!
Hey I am trying to use MonthPickerInput but it says module not found