diff options
| author | winter | 2025-01-15 20:33:38 +0000 |
|---|---|---|
| committer | winter | 2025-01-15 20:33:38 +0000 |
| commit | 75b3778dccccddb5cc90b2b4e0a3f958826ad8ba (patch) | |
| tree | 6240a96338f58b5f175e97132a4ce5d804e3b2da /templates/write_note_form.php | |
| parent | 07df9da970ceaa54c734d73bdb148fa36d42db63 (diff) | |
implement home timeline
Diffstat (limited to 'templates/write_note_form.php')
| -rw-r--r-- | templates/write_note_form.php | 5 |
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> |
