Skip to content

Commit 9dc163e

Browse files
set dash version to 2.18.2 🚨
1 parent 154fe35 commit 9dc163e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

‎docs/full_calendar_component/api_example.py‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from dash.exceptions import PreventUpdate
55
from datetime import datetime, date, timedelta
66
from data import api
7-
import dash_dangerously_set_inner_html
7+
88

99
# Get today's date
1010
today = datetime.now()
@@ -88,11 +88,11 @@ def open__api_event_modal(n, clickedEvent, opened):
8888
True,
8989
event_title,
9090
html.Div(
91-
dash_dangerously_set_inner_html.DangerouslySetInnerHTML(f'''
91+
html.P(f'''
9292
{event_context}
9393
'''),
9494
style={"width": "100%", "overflowY": "auto"},
95-
),
95+
)
9696
)
9797
elif button_id == "modal-close-button" and n is not None:
9898
return False, dash.no_update, dash.no_update

‎requirements.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ dash-html-components >=2.0.0
1111
dash_table >=5.0.0
1212
dash-core-components >=2.0.0
1313

14-
dash>=2
14+
dash==2.18.2
1515
dash[ci,dev,testing]>=2.0
1616
pyyaml>=5.0
1717
pytest<8.1.0

0 commit comments

Comments
 (0)