We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c438bd9 commit 64ce44bCopy full SHA for 64ce44b
starlette_admin/__init__.py
@@ -1,4 +1,4 @@
1
-__version__ = "0.15.0rc0"
+__version__ = "0.15.0rc1"
2
3
from ._types import ExportType as ExportType
4
from ._types import RequestAction as RequestAction
starlette_admin/templates/forms/relation.html
@@ -8,7 +8,7 @@
8
class="form-control {{ 'field-has-one' if not field.many else 'field-has-many' }} {% if error %}is-invalid{% endif %}"
9
data-url="{{ url_for(__name__ ~ ':api', identity=foreign_model.identity) }}"
10
data-pk="{{ fpk }}"
11
- {% if data %}data-initial="{{ (data if field.multiple else [data]) |tojson }}" {% endif %}
+ {% if data %}data-initial="{{ (data if field.multiple else [data]) |tojson |forceescape }}" {% endif %}
12
{% if field.multiple %}multiple{% endif %}>
13
</select>
14
{% if field.help_text %}
0 commit comments