refactor(form-builder): pre-publish check reads form_field_bindings; drop binding JSON columns
This commit is contained in:
@@ -99,7 +99,7 @@ final class FormBuilderDevSeeder
|
||||
'is_required' => $field['is_required'] ?? false,
|
||||
'is_filterable' => $field['is_filterable'] ?? false,
|
||||
'is_pii' => $field['is_pii'] ?? false,
|
||||
'binding' => null,
|
||||
'binding' => null, // Pattern B — snapshot embeds null for form-owned fields.
|
||||
'conditional_logic' => null,
|
||||
'translations' => null,
|
||||
'value_storage_hint' => $field['type']->recommendedValueStorageHint()->value,
|
||||
@@ -372,7 +372,6 @@ final class FormBuilderDevSeeder
|
||||
'is_admin_only' => false,
|
||||
'is_pii' => false,
|
||||
'display_width' => $def['display_width'] ?? 'full',
|
||||
'binding' => null,
|
||||
'role_restrictions' => null,
|
||||
'value_storage_hint' => $def['value_storage_hint'] ?? FormValueStorageHint::JSON,
|
||||
'sort_order' => $sortOrder + 1,
|
||||
|
||||
Reference in New Issue
Block a user