aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/write_note_form.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/write_note_form.php')
-rw-r--r--templates/write_note_form.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/templates/write_note_form.php b/templates/write_note_form.php
index 9b7c61c..c28dc12 100644
--- a/templates/write_note_form.php
+++ b/templates/write_note_form.php
@@ -1,7 +1,8 @@
-<form action="/todo" method="post" hx-post="/fragment/note" hx-swap="outerHTML" hx-disabled-elt="find button">
+<form action="/todo" method="post" hx-post="/fragment/note" hx-swap="outerHTML" hx-disabled-elt="find button"
+ _="on submit wait 1s then trigger update on #liveTimelineUpdater">
<div class="row">
<label for="noteContent"><?= __('writeNote.label') ?></label>
- <textarea name="content" id="noteContent" required></textarea>
+ <textarea name="content" id="noteContent" required autocomplete="off"></textarea>
</div>
<div class="row">
<button class="primary"><?= __('writeNote.action') ?></button>