Laravel-Backpack/MenuCRUD

Page Link empty

sarveshacharya opened this issue · 2 comments

[id] => 1 [name] => About us [type] => page_link [link] => [page_id] => 1 [parent_id] => [lft] => 2 [rgt] => 3 [depth] => 1 [created_at] => 2017-02-05 07:25:22 [updated_at] => 2017-02-05 07:25:38 [deleted_at] =>

When adding 'Type' as 'Page Link' and selecting page from dropdown. Page link is not being saved in database. # #

Hi @acharyasarvesh

I've just had a try on a new project and can confirm that it is working as expected.

As GitHub is not a support platform, please could you please jump over to Stack Overflow and get support there using the instructions describes in the github guide lines https://github.com/Laravel-Backpack/CRUD/blob/master/CONTRIBUTING.md

I would recommend you read up on laravels relationships system https://laravel.com/docs/5.4/eloquent-relationships, check your $fillable and $guarded are correct as per https://laravel.com/docs/5.4/eloquent#mass-assignment - and make sure all your table conventions are correct https://laravel.com/docs/5.4/eloquent#eloquent-model-conventions

@OwenMelbz I had also tried on a new project and can confirm that its not working as expected.

And since i am using the package and installing it using composer, i don't see any purpose of following.

I would recommend you read up on laravels relationships system https://laravel.com/docs/5.4/eloquent-relationships, check your $fillable and $guarded are correct as per https://laravel.com/docs/5.4/eloquent#mass-assignment - and make sure all your table conventions are correct https://laravel.com/docs/5.4/eloquent#eloquent-model-conventions