diff --git a/ckanext/charts/chart_builders/plotly.py b/ckanext/charts/chart_builders/plotly.py index ca14162..17d7f04 100644 --- a/ckanext/charts/chart_builders/plotly.py +++ b/ckanext/charts/chart_builders/plotly.py @@ -194,11 +194,15 @@ def title_field(self) -> dict[str, Any]: def description_field(self) -> dict[str, Any]: return { - "field_name": "notes", + "field_name": "description", "label": "Description", "form_snippet": "markdown.html", "form_placeholder": "Information about my view", "group": "General", + "validators": [ + self.get_validator("ignore_empty"), + self.get_validator("unicode_safe"), + ], } def engine_field(self) -> dict[str, Any]: