Enhance settings management: Added support for new form types including color picker, code editor, rich editor, markdown editor, tags input, checkbox list, radio buttons, toggle buttons, and slider in the SettingForm. Updated the Setting model to handle these new types and modified the migration to include them in the type enum. Enhanced localization files to support new type labels in both English and Turkish.
This commit is contained in:
@@ -111,6 +111,19 @@ class SettingsTable
|
||||
'float' => __('settings.type_float'),
|
||||
'array' => __('settings.type_array'),
|
||||
'json' => __('settings.type_json'),
|
||||
'file' => __('settings.type_file'),
|
||||
'date' => __('settings.type_date'),
|
||||
'datetime' => __('settings.type_datetime'),
|
||||
'color_picker' => __('settings.type_color_picker'),
|
||||
'code_editor' => __('settings.type_code_editor'),
|
||||
'rich_editor' => __('settings.type_rich_editor'),
|
||||
'markdown_editor' => __('settings.type_markdown_editor'),
|
||||
'tags_input' => __('settings.type_tags_input'),
|
||||
'checkbox_list' => __('settings.type_checkbox_list'),
|
||||
'radio' => __('settings.type_radio'),
|
||||
'toggle_buttons' => __('settings.type_toggle_buttons'),
|
||||
'slider' => __('settings.type_slider'),
|
||||
'key_value' => __('settings.type_key_value'),
|
||||
]),
|
||||
|
||||
TernaryFilter::make('is_active')
|
||||
|
||||
Reference in New Issue
Block a user