Custom Fields Table Widget
Component Detail
User Interface
medium complexity
mobile
0
Dependencies
0
Dependents
2
Entities
0
Integrations
Description
Reusable table widget that renders organisation-defined custom fields for a contact, supporting both read-only display and editable input modes. Fetches field definitions from the organisation labels system and renders the appropriate input type (text, select, date) per field definition.
custom-fields-table-widget
Responsibilities
- Fetch and display org-specific field definitions
- Render correct input widget per field type
- Validate custom field values against constraints
- Emit field value changes to parent form
Interfaces
loadFieldDefinitions(orgId: String)
renderFieldRow(field: OrgField, value: dynamic)
setEditMode(editable: bool)
getFieldValues()
validateAll()
onFieldChanged(fieldId: String, value: dynamic)
Related Data Entities (2)
Data entities managed by this component