https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42383

--- Comment #225 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 211717
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211717&action=edit
Bug 42383: (QA follow-up) Stop password managers from treating the barcode box
as a fillable field

Password managers (1Password, LastPass, Bitwarden, Dashlane) can decide
that the barcode input is a login or autofill field and add their icon
inside it. The icon sits where the check-in settings (sliders) icon is,
on the right of the box, so the settings icon can no longer be clicked.

The legacy form carried autocomplete="off" on the form, which the Vue
form lacked. Put it back on the form and mark the input, in addition to
its autocomplete="off", with the opt-out attributes the common password
managers honour: data-1p-ignore, data-lpignore, data-bwignore and
data-form-type="other".

Test plan:
1. Apply the patch and rebuild the JS (yarn js:build)
2. With a password manager browser extension enabled, go to
   Circulation > Check in
=> The extension does not add its icon inside the barcode box, and the
   settings (sliders) icon can be clicked
3. Run:
   $ yarn cypress run --spec t/cypress/integration/Circulation/Checkin_spec.ts
=> SUCCESS: Tests pass!

Assisted-by: Sonnet 5.5 (Anthropic)
Signed-off-by: Martin Renvoize <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to