v0.12.38 event form bug fixes

This commit is contained in:
2026-03-29 15:38:16 -04:00
parent cfb351a251
commit 93689d4486
7 changed files with 83 additions and 26 deletions

View File

@@ -290,6 +290,9 @@ export default function UserManagerModal({ onClose }) {
return (
<div className="modal-overlay" onClick={e => e.target === e.currentTarget && onClose()}>
<div className="modal" style={{ maxWidth: 600, width: '100%' }}>
{/* form wrapper suppresses Chrome Android's autofill chip bar; autoComplete="off"
on individual inputs is ignored by Chrome but respected on the form element */}
<form autoComplete="off" onSubmit={e => e.preventDefault()}>
<div className="flex items-center justify-between" style={{ marginBottom: 20 }}>
<h2 className="modal-title" style={{ margin: 0 }}>User Manager</h2>
<button className="btn-icon" onClick={onClose}>
@@ -421,6 +424,7 @@ export default function UserManagerModal({ onClose }) {
)}
</div>
)}
</form>
</div>
</div>
);