Skip to content

Commit

Permalink
DATASHADES-325 / fix view description field
Browse files Browse the repository at this point in the history
  • Loading branch information
mutantsan committed May 14, 2024
1 parent 27e6db6 commit a57e69a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ckanext/charts/chart_builders/plotly.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]:
Expand Down

0 comments on commit a57e69a

Please sign in to comment.