aboutsummaryrefslogtreecommitdiff
path: root/templates/forms/quicksearch_input.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/forms/quicksearch_input.php')
-rw-r--r--templates/forms/quicksearch_input.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/forms/quicksearch_input.php b/templates/forms/quicksearch_input.php
index 6fbaff1..46680a1 100644
--- a/templates/forms/quicksearch_input.php
+++ b/templates/forms/quicksearch_input.php
@@ -10,6 +10,7 @@
<span>
<quicksearch value="<?= htmlReady($value) ?>"
name="<?= htmlReady($name) ?>"
+ @update:modelValue="(new_id, new_item_name) => { console.log(new_id); this.<?= htmlReady($name) ?> = new_id; }"
id="<?= $id ?>"
<?= ($this->required ? 'required aria-required="true"' : '') ?>
<?= $attributes ?>>