Added Search function for items and fixed javascript controller
Some checks failed
CI / scan_ruby (push) Has been cancelled
CI / scan_js (push) Has been cancelled
CI / lint (push) Has been cancelled
CI / test (push) Has been cancelled
CI / system-test (push) Has been cancelled

This commit is contained in:
2026-05-25 04:23:08 +02:00
parent 650b83bdf4
commit 204a6c05dc
9 changed files with 178 additions and 121 deletions

View File

@@ -0,0 +1,11 @@
import { Controller } from "@hotwired/stimulus";
export default class extends Controller {
submit() {
clearTimeout(this.timeout);
// Wartet 200ms nach dem letzten Tastendruck, bevor gesucht wird
this.timeout = setTimeout(() => {
this.element.requestSubmit();
}, 200);
}
}