Skip to main content

Overview

This document tracks the integration of CustomFieldsSection (PF-16) into entity forms.

Forms Using ConfigurableForm (Automatic Custom Fields)

Forms migrated to ConfigurableForm automatically include custom fields:
  • hr_employees - EmployeeFormDialog (uses ConfigurableForm)
  • fa_customers - CustomerForm (uses ConfigurableForm)
Note: ConfigurableForm’s DynamicFormRenderer automatically renders custom fields when:
  • Field configs exist with field_source = 'custom'
  • Custom field definitions exist for the entity type
  • Field configs have is_visible = true for the current role

Forms Needing CustomFieldsSection

For forms that haven’t been migrated to ConfigurableForm, add CustomFieldsSection: Example:

Integration Checklist

  • hr_employees - EmployeeFormDialog (via ConfigurableForm)
  • fa_customers - CustomerForm (via ConfigurableForm)
  • Other entity forms (add CustomFieldsSection as needed)

Notes

  • ConfigurableForm automatically handles custom fields - no separate component needed
  • CustomFieldsSection is for non-ConfigurableForm forms only
  • Custom fields are stored in custom_fields JSONB column
  • Field definitions are managed at /settings/custom-fields