You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bug: Contact edit dialog silently refuses to save when Name is empty — no error message; import happily creates name-less contacts #2640
Manual import accepts contacts without a name (email alone is a valid line), but the Edit dialog marks Name as required — so a name-less imported contact can't be edited (e.g. just to add a phone) without inventing a name.
When Save is clicked with the empty required Name, the dialog shows no error whatsoever — it stays open and moves focus to the Name field. No inline message, no toast. Users are left guessing why nothing happened.
Dialog stays open, focus jumps to Name, zero visible feedback. (Screenshot on file: contacts-edit-silent-validation.png.)
Type any name → Save succeeds.
Code pointers
app/features/contacts/components/contact-edit-dialog.tsx — required-Name validation with no rendered error state
app/features/contacts/components/contacts-import-dialog.tsx + app/hooks/use-file-import.ts — import path that allows empty names
Proposed change
Render field-level validation errors in the edit dialog (localized), and make create/edit agree on whether Name is required — either require it at import too, or allow empty names in edit.
Acceptance criteria
Saving with an empty required field shows a visible, localized inline error
Activity