Customize profile form #1280
Replies: 2 comments
-
|
To customize the profile form for normal users in a project using PermissionManager where the
$this->app->bind(
\Backpack\CRUD\app\Http\Controllers\Auth\RegisterController::class,
\App\Http\Controllers\Admin\Auth\RegisterController::class
);
CRUD::field([
'label' => "Name",
'type' => 'text',
'name' => 'name',
'key' => 'name_1'
]);
CRUD::field([
'label' => "Another Name",
'type' => 'text',
'name' => 'name',
'key' => 'name_2'
]);By using the For more detailed information on customizing the registration form and handling duplicate field names, you can refer to these resources: Adding a field to registration form Remember to adjust the field labels and keys according to your specific needs. If you need to make more extensive customizations to the form, you might want to consider creating a custom view for the registration form as well. ℹ️ Please note our AI Bot does not reply to follow-ups, this will be the only AI answer in this thread. If the AI helped you find the answer, please mark it as answered or write details below so it can learn. Then close the conversation. If not, please give more information for when a human reads this. ℹ️ Relevant sources: FAQs for CRUDs|Columns |
Beta Was this translation helpful? Give feedback.
-
|
At the end I customized the file in theme-tabler for that view that was more fast. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have for normal users (no admin) in a project with PermissionManager that the field
nameis duplicated but I can't find documentation on how to change that form.Beta Was this translation helpful? Give feedback.
All reactions