Files
immich/web/src/lib
Preslav Penchev ac6938a629 fix(web): allow pasting PIN code from clipboard or password manager (#26944)
* fix(web): allow pasting PIN code from clipboard or password manager

The keydown handler was blocking Ctrl+V/Cmd+V since it called
preventDefault() on all non-numeric keys. Also adds an onpaste
handler to distribute pasted digits across the individual inputs.

* refactor: handle paste in handleInput, remove maxlength

* cleanup + fix digit focus

---------

Co-authored-by: Preslav Penchev <preslav.penchev@acronis.com>
Co-authored-by: Michel Heusschen <59014050+michelheusschen@users.noreply.github.com>
2026-03-17 06:38:06 -05:00
..
2026-03-02 11:35:53 +00:00
2025-12-20 21:07:07 -06:00
2026-02-26 14:54:20 +01:00
2026-03-12 14:55:33 +00:00
2026-02-19 15:27:30 -05:00
2026-03-12 09:53:46 -05:00
2026-03-12 09:53:46 -05:00
2026-01-19 12:07:31 -05:00
2026-01-19 12:07:31 -05:00
2026-02-10 16:42:03 +00:00