make:filament-user prompt for all required fields in User table #17151
Replies: 2 comments
-
@danharrin haha sorry, forgot to ping you, but if you think it's something suited for Filament I'd be happy to do a PR right away! |
Beta Was this translation helpful? Give feedback.
-
Hey! It is a nice idea, but the command to create a user is intended for those who need to get started quickly in a fresh Laravel project, and don't have a user account yet. If you have gotten to the stage where you are adding additional user fields, you probably already have user accounts to test with, or a user resource in the panel with the additional fields in the form. As such, I don't think I would accept it right now, to keep things simple, sorry. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello! I was trying to create an user using the make:filament-user command and realized it doesn't prompt for other fields than the name, email, and password.
I was thinking of making a pull request where the command prompts for all the required fields in the table, so if the user added a different required field in the migration the command is able to create the user regardless.
But before doing so I'd like to know if it's a feature suited for the framwork! Thanks in advance <3
Beta Was this translation helpful? Give feedback.
All reactions