diff --git a/vizro-core/src/vizro/models/_components/form/date_picker.py b/vizro-core/src/vizro/models/_components/form/date_picker.py index 07c931c6c..80f884abb 100644 --- a/vizro-core/src/vizro/models/_components/form/date_picker.py +++ b/vizro-core/src/vizro/models/_components/form/date_picker.py @@ -1,7 +1,7 @@ from typing import Literal, Optional, Union import dash_mantine_components as dmc -from dash import Input, Output, State, dcc, html +from dash import html try: from pydantic.v1 import Field, PrivateAttr, validator @@ -58,7 +58,6 @@ def build(self): init_value = self.value or ([self.min, self.max] if self.range else self.min) # type: ignore[list-item] date_range_picker_kwargs = {"allowSingleDateInRange": True} if self.range else {} - date_picker = dmc.DatePickerInput( id=self.id, minDate=self.min,