mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-24 15:42:09 +08:00
fix: improvement of the questions (which was "yes/no" like before) for something clearer
This commit is contained in:
@@ -45,7 +45,7 @@ class MakePageCommand extends Command
|
||||
$resourcePage = null;
|
||||
|
||||
$resourceInput = $this->option('resource') ?? text(
|
||||
label: 'Would you like to create the page inside a resource?',
|
||||
label: 'Which resource would you like to create this page in?',
|
||||
placeholder: '[Optional] UserResource',
|
||||
);
|
||||
|
||||
|
||||
@@ -52,7 +52,7 @@ class MakeWidgetCommand extends Command
|
||||
|
||||
if (class_exists(Resource::class)) {
|
||||
$resourceInput = $this->option('resource') ?? text(
|
||||
label: 'Would you like to create the widget inside a resource?',
|
||||
label: 'Which resource would you like to create this widget in?',
|
||||
placeholder: '[Optional] BlogPostResource',
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user