Enhance settings form and model: Added support for array type in SettingForm with a new repeater field for managing key-value pairs. Updated Setting model to handle array values and modified localization files to include new keys for array-specific fields in both English and Turkish.
This commit is contained in:
@@ -81,6 +81,16 @@ return [
|
||||
'type_required' => 'Type field is required.',
|
||||
'label_required' => 'Label field is required.',
|
||||
|
||||
// Array type specific
|
||||
'array_key' => 'Key',
|
||||
'array_key_placeholder' => 'Array key (e.g: name, email)',
|
||||
'array_value' => 'Value',
|
||||
'array_value_placeholder' => 'Array value',
|
||||
'array_description' => 'Description',
|
||||
'array_description_placeholder' => 'Description for this item',
|
||||
'array_active' => 'Active',
|
||||
'array_add_item' => 'Add Item',
|
||||
|
||||
// Filters
|
||||
'filter_group' => 'By Group',
|
||||
'filter_type' => 'By Type',
|
||||
|
||||
Reference in New Issue
Block a user