thedevdojo / voyager

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

Updating user database andd bread does not update edit-add.blade.php #5720

Open ItsMattNorman opened 1 year ago

ItsMattNorman commented 1 year ago

Laravel version

9.19

PHP version

8.2.0

Voyager version

1.6

Database

MYSQL 5.7.40

Description

I have added a number of text fields to User. I have also updated the bread accordingly. the changes have been reflected in the database and are also visible on the /users table on the admin portal however when trying to add or edit a user, the new fields are not there. I saw another thread saying that edit-add.blade.php was not updating, however, their fix of simply dragging around some fields on the bread editor did not seem to fix the issue.

Steps to reproduce

Add field to User Update bread

Expected behavior

New fields to be available when adding and editing users.

Screenshots

No response

Additional context

No response

fletch3555 commented 1 year ago

Voyager ships with a custom (non-dynamic) users view. You would need to either manually add fields to that view, or "override" it per the docs using the default one to make it dynamic again