Add downloads and FAQs functionality to SolutionResource: implement repeaters for downloads and FAQs in the form, update Solution model to include new fields, and enhance the show view to display downloads and FAQs dynamically, improving content management and user experience.
This commit is contained in:
@@ -15,9 +15,13 @@ class Solution extends Model
|
||||
'slug',
|
||||
'title_description',
|
||||
'bullets',
|
||||
'downloads',
|
||||
'faqs',
|
||||
];
|
||||
|
||||
protected $casts = [
|
||||
'bullets' => 'array',
|
||||
'downloads' => 'array',
|
||||
'faqs' => 'array',
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user