Summary#
Fixes Firefox-specific bug where "add member" modal input is prefilled with registration hostname for knots and spindles. (doesn't happen in chromium)
Issue:
- User enters hostname in registration form
- Registration succeeds and triggers
HxRefresh(full page reload) - Firefox aggressively restores form state after refresh
- User then clicks "add member" on the newly created knot/spindle
- Firefox incorrectly auto-fills the modal member input with the registration form value
Solution#
Add autocomplete="off" to prevent browser from auto-filling or restoring values in member input fields.
Since this is not a login field, and users should be adding new members each time there is no reason to let the browser autofill.
Changes#
- Added
autocomplete="off"to member input inappview/pages/templates/knots/fragments/addMemberModal.html - Added
autocomplete="off"to member input inappview/pages/templates/spindles/fragments/addMemberModal.html - Added
autocapitalize="none"andautocorrect="off"to knots modal for consistency with spindles
appreciate the detailed writeup! thanks for investigating and fixing this.