Edit Contact Screen
Component Detail
User Interface
medium complexity
mobile
0
Dependencies
0
Dependents
2
Entities
0
Integrations
Description
Step-by-step reactive form screen for editing contact records, built with Flutter's Form widget and custom AppTextField components. Supports field-level validation, auto-save drafts in SQLite, and dynamically renders organisation-specific custom fields fetched from Supabase at load time.
edit-contact-screen
Responsibilities
- Render editable form with standard and custom fields
- Perform field-level validation with user-friendly error messages
- Auto-save draft to local SQLite on field change
- Submit validated changes to contact management service
Interfaces
loadContactForEdit(contactId: String)
validateField(fieldId: String, value: String)
saveDraft()
submitEdit()
discardChanges()
loadCustomFieldDefinitions(orgId: String)
Related Data Entities (2)
Data entities managed by this component