i am getting error if theres a menu named About us already and when i add submenu in About us it display About us two times in navbar where in one it is just the link and the other one containing the dropdown menu
Instead of using route() function, maybe you should pass the URL directly in the href directive, route function takes a route defined in the web.php file and hence it is throwing that error
Olá, muito boa sua aula. Estou tendo esse erro. SQLSTATE[HY000]: General error: 1364 Field 'name' doesn't have a default value (SQL: insert into `sub_menu_items` (`updated_at`, `created_at`) values (2020-10-28 18:16:29, 2020-10-28 18:16:29)) Pode me ajudar?
Thankyou So much for Tutorial :)
i am getting error
if theres a menu named About us already and when i add submenu in About us
it display About us two times in navbar where in one it is just the link and the other one containing the dropdown menu
Hi.. thanks for this video, this video save my day.. 🙏
la naaice work 🤘
laravel sikna paune bhaiyo aba
how can i connect when i click menus i use this "{{ route ($mainMenu->url)}} this error 'Route [] not defined.'
Instead of using route() function, maybe you should pass the URL directly in the href directive, route function takes a route defined in the web.php file and hence it is throwing that error
How many levels deep does this support? Will it work if a sub menu item is added to a submenu?
Well you need to define the database structure accordingly, then you can add as many levels as you want.
Olá, muito boa sua aula. Estou tendo esse erro.
SQLSTATE[HY000]: General error: 1364 Field 'name' doesn't have a default value (SQL: insert into `sub_menu_items` (`updated_at`, `created_at`) values (2020-10-28 18:16:29, 2020-10-28 18:16:29))
Pode me ajudar?
check your form for the name input field. It shud have attribute name="name" and also check mass assignment.