diff options
| author | Martin Kagamino Lehoux <martin@lehoux.net> | 2026-08-01 15:15:37 +0200 |
|---|---|---|
| committer | Martin Kagamino Lehoux <martin@lehoux.net> | 2026-08-01 15:15:37 +0200 |
| commit | b30150a8feb960c0667eaff6cb105dcc55b65744 (patch) | |
| tree | b953226c6dc323b2b83c2df9677460c4aa4697e6 /src/lib/server/db/schema.ts | |
| parent | 59c840c21798d515bfc375bead87e690cd70900a (diff) | |
fix(groceries): prevent premature auto-submit on quick-add input
Typing 'sel régénérant' would auto-submit 'sel' because oninput
fired on every keystroke, and trim() collapsed the partial input
to a catalog match. Moved auto-submit to oninput with
insertReplacementText guard (datalist selection) plus onchange
(blur/Enter), so regular typing is never interrupted.
Diffstat (limited to 'src/lib/server/db/schema.ts')
0 files changed, 0 insertions, 0 deletions
