Hello,
I just downgraded dash-mantine-components to 0.12.1 in order to avoid another error, and now am getting the error datepicker" received an unexpected keyword argument: type.
The component I am using is the DatePicker, with type="range"
to select two dates. However, I am unaware what the argument was before this latest version of dmc.
Does anyone know the old argument to select a range of dates in DatePicker?
TIA!
Hi @plotmaster422
The version number in the top left side of the dmc docs is a dropdown - there you can select the docs for previous versions.
In v12 there was a seperate component DateRangePicker
What was the error you are getting in the current version?
Thank you! I was unaware of the development going on with dmc.
The error I was getting with v14 was the r.useID
error, which was fixed by the following line:
_dash_renderer._set_react_version("18.2.0")
. So now I am working with the most updated version v14. Either of these solutions works; I will mark your answer as the solution.
Off-topic, but in fiddling around with this latest version (love the organization of all the components and their categories), I stumbled upon the YearPickerInput
component. This would be super useful to me. But, I am getting error AttributeError: module 'dash_mantine_components' has no attribute 'YearPickerInput'
. I have tried 14.1, .2, .3, and .4; are there any other possible tricks to get this component to work?
That component was added recently. Please upgrade to the latest 0.14.6 There are no known breaking changes moving from 0.14.4