thedevdojo / voyager

Voyager - The Missing Laravel Admin
https://voyager.devdojo.com
MIT License
11.77k stars 2.67k forks source link

Voyager is not showing the stored data in the admin panel. #5493

Open donchoborisov opened 2 years ago

donchoborisov commented 2 years ago

Laravel version

8

PHP version

7.4

Voyager version

1.4.3

Database

Mysql 8.0

Description

Hi there,

I have problem Voyager not showing my data in the admin panel after save.

Steps to reproduce

Its contact form and I am saving my messages into a database. Saving data is working fine just instead of showing the data is just blank and with option for delete and view

Expected behavior

Show the data in the admin panel

Screenshots

image

Additional context

No response

emptynick commented 2 years ago

To me it looks like you don't have any fields activated for browsing. Can you show a screenshot of the BREAD editor?

donchoborisov commented 2 years ago

image

fletch3555 commented 2 years ago

@donchoborisov can you show the BREAD config as well?

donchoborisov commented 2 years ago

image

caioflavio commented 2 years ago

any update on this issue? Same problem here. any workaround?

donchoborisov commented 2 years ago

Hi there,

I resolve the issue by creating the model and migration manualy after that you just need to add the bread to the table and you should be fine.

emptynick commented 2 years ago

I see you have an uppercase tablename Contact. Depending on your database configuration that might be a problem when accessing the lowercase slug admin/contact.

I can only recommend to follow Laravels model conventions