User Interface medium complexity mobile
0
Dependencies
3
Dependents
2
Entities
0
Integrations

Description

Reusable form widget for contact data entry and editing, built entirely with AppTextField widgets from the design system for consistent styling and WCAG 2.2 AA accessibility. Supports dynamic field labels via the Organization Labels system to accommodate per-organization terminology, and performs field-level validation matching backend constraints.

Feature: Contact Detail & Edit

contact-form-widget

Responsibilities

  • Render all contact fields using AppTextField design system widgets
  • Apply field-level validation rules matching backend PATCH endpoint constraints
  • Resolve dynamic field labels from Organization Labels system per org
  • Expose form state and validation results to parent screen

Interfaces

initializeWithContact(contact: Contact?)
getFormData(): ContactFormData
validateForm(): ValidationResult
validateField(fieldName: string): FieldValidationResult
setFieldValue(fieldName: string, value: dynamic)
getFieldValue(fieldName: string): dynamic
reset()
setReadOnly(readOnly: bool)
applyOrganizationLabels(labels: OrgLabels)

Relationships

Dependents (3)

Components that depend on this component

Related Data Entities (2)

Data entities managed by this component