Skip to content

Commit c99cbc9

Browse files
Merge pull request #18 from Guiziweb/chore/drop-unused-markdown-dep
chore: drop unused markdown dep and add native required validation
2 parents a2d1cf1 + f7764d8 commit c99cbc9

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

composer.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
"symfony/ai-platform": "^0.8",
2222
"symfony/framework-bundle": "^7.3",
2323
"symfony/rate-limiter": "^7.3",
24-
"twig/markdown-extra": "^3.24",
2524
"symfony/property-info": "^6.4 || ~7.3.0",
2625
"symfony/type-info": "~7.3.0"
2726
},

templates/components/grid_assistant.html.twig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
value="{{ this.query }}"
1919
autocomplete="off"
2020
data-loading-disabled
21+
required
2122
>
2223
</div>
2324

@@ -35,7 +36,7 @@
3536

3637
{% if this.error %}
3738
<div class="mt-2 text-danger">
38-
{{ this.error|markdown_to_html }}
39+
{{ this.error|nl2br }}
3940
</div>
4041
{% endif %}
4142

0 commit comments

Comments
 (0)