I'm a big beginer with laravel and voyager
I have already added phone_number column to my users table in my database but I want the admin to create users himself and i want him to set the phone numbers by himself
any idea how can I added a new input in this page please? /admin/users/create voyager?
Voyager overrides the users/edit-add view, thats why just adding fields through the BREAD-manager isn't enough.
You need to override the view (take this file as reference)
You can find a howto override views in our docs.
Also please dont use latest for version fields.
Updated
Thanks for you fast answer
Same answer of this one right? #1317
In short: copy vendor/tcg/voyager/resources/views/users/edit-add.blade.php to resources/views/vendor/voyager/users/edit-add.blade.php and make the needed changes.
Closing as the question is answered.
This issue has been automatically locked since there has not been any recent activity after it was closed. If you have further questions please ask in our Slack group.
Most helpful comment
Voyager overrides the users/edit-add view, thats why just adding fields through the BREAD-manager isn't enough.
You need to override the view (take this file as reference)
You can find a howto override views in our docs.
Also please dont use
latestfor version fields.