-
-
Notifications
You must be signed in to change notification settings - Fork 47
Description
What happened?
When you have multiple available namespaces for the make:filament-api-service-command,
it prompts you to select which namepspace, this is fine, but then it delegates to other make commands. These make commands also attempt to promt the user to choose a namespace, but the prompt is invisible, making it hard to select.
How to reproduce the bug
create a cluster in one of your panels
run artisan make:filament-api-service
cluster shoudl appear now as well as the main panel's resources namespace. select the second entry, observe that the command doesn't exit, press return again (invisibly selects the first entry) and the command with fail with error,
if you try again but press ⬇ before enter, it will still not complete, there is another invisible prompt, do the same again and you can get the command to complete.
Package Version
3.4.2
PHP Version
8.3.14
Laravel Version
11.38.2
Which operating systems does with happen with?
macOS, Windows, Linux
Notes
Ideally it wouldn't be necessary to prompt the user multiple times for the same information, might it be worth passing the selected namespace as a param to the delegated commands?