feat(form-builder): form_field_configs relational table + non-validation key split + drop validation_rules JSON columns
This commit is contained in:
@@ -284,10 +284,9 @@ final class FormBuilderDevSeeder
|
||||
'type' => FormFieldType::TAG_PICKER,
|
||||
'slug' => 'vaardigheden',
|
||||
'label' => 'Vaardigheden en certificaten',
|
||||
// validation_rules.tag_categories = [] means "all active
|
||||
// person_tags for this org" — the FormFieldResource picks
|
||||
// up every active tag when no category filter is set.
|
||||
'validation_rules' => null,
|
||||
// No config_type = tag_categories row → FormFieldResource
|
||||
// emits every active person_tag for the org (no category
|
||||
// filter). See ARCH-FORM-BUILDER §17.5.
|
||||
'is_required' => false,
|
||||
'is_filterable' => true,
|
||||
'display_width' => 'full',
|
||||
@@ -370,7 +369,6 @@ final class FormBuilderDevSeeder
|
||||
'label' => $def['label'],
|
||||
'help_text' => $def['help_text'] ?? null,
|
||||
'options' => $def['options'] ?? null,
|
||||
'validation_rules' => $def['validation_rules'] ?? null,
|
||||
'is_required' => $def['is_required'] ?? false,
|
||||
'is_filterable' => $def['is_filterable'] ?? false,
|
||||
'is_portal_visible' => true,
|
||||
|
||||
Reference in New Issue
Block a user