Skip to content

Commit 3e2c287

Browse files
Bbn08fricklerhandwerk
authored andcommitted
fix: preserve comment field across HTMX suggestion refreshes
1 parent 708e043 commit 3e2c287

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/webview/templates/suggestions/components/suggestion.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ <h2 class="heading dimmed">Affected products</h2>
7676
{% endif %}
7777
{% else %}
7878
<textarea
79+
id="comment-{{ data.suggestion.pk }}"
80+
hx-preserve
7981
class="rounded-box monospace highlight-nonempty"
8082
name="comment"
8183
maxlength="1000"

0 commit comments

Comments
 (0)