.najibahmed
How to translate userMenuItems i panel?
public function panel(Panel $panel): Panel
{
return $panel
->id('app')
->default()
->path('app')
...
...
->userMenuItems([
MenuItem::make()
->label(__('User profile'))
->url('user/profile')
->icon('heroicon-o-cog-6-tooth'),
// ...
])
...
}
this will result error: Target class [translator] does not exist. Do you have another way?
this will result error: Target class [translator] does not exist. Do you have another way?
4 replies
How to have a form save data into two tables?
I have a postResource with a create form which save data in two tables. first table for post information and another for images table. posts table does not have any id for images table. Instead media table has an id for post_id. When click create/save button then each data goes to their own table. I don't want to use media-library. #form-builder
8 replies