Getting a `required` validation error when running the `make:filament-widget` command

In the latest version (v3.0.63), running artisan make:filament-widget without using a resource, the 2nd step has an option, but you can't select it and you get the "Required" validation error. Honestly, it's much more clear in the screenshot. This has worked fine in the previous minor version (v3.0.62) so I'm not sure if it's a bug or something has changed that I'm missing
No description
Solution:
Can confirm, will PR it.
Jump to solution
2 Replies
ChesterS
ChesterS10mo ago
Seems to be a recent change in the laravel/prompts package. A potential fix is to change line filament/widgets/src/Commands/MakeWidgetCommand.php:86 and add a value to the default App\Livewire option. eg
'Livewire' => '[App\\Livewire] alongside other Livewire components',
'Livewire' => '[App\\Livewire] alongside other Livewire components',
I might have time to create a PR for this but I'm not sure where else this needs to be applied
Solution
cheesegrits
cheesegrits10mo ago
Can confirm, will PR it.
Want results from more Discord servers?
Add your server
More Posts