ui: disable spellcheck for pertest (#629) (#630)

This commit is contained in:
panda authored and GitHub committed 2023-07-27 14:37:59 +08:00
1 parent 89b294c60e
commit f45a509c05
5 files changed
+8 -3

No files matched your search

@@ -172,6 +172,7 @@
{% macro textarea(args) %}
{% set markdown = args.markdown or false %}
{% set nospellcheck = args.nospellcheck or false %}
<div
name="form_item_{{ args.name }}"
{{ container_attr('textarea-container', args) }}
@@ -180,6 +181,7 @@
name="{{ args.name }}"
placeholder="{{ args.placeholder }}"
{% if markdown %}data-markdown{% endif %}
{% if nospellcheck %}spellcheck="false"{% endif %}
{{ form_attr('textbox', args) }}
>{{ args.value }}</textarea>
</div>