Skip to content

Commit

Permalink
Fix value input to Textarea
Browse files Browse the repository at this point in the history
  • Loading branch information
alexvenga committed Dec 27, 2022
1 parent b009e2a commit ede3bb9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion stubs/MoonShine/Resources/SettingResource.php.stub
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ use Illuminate\Validation\Rule;
use Leeto\MoonShine\Fields\BelongsTo;
use Leeto\MoonShine\Fields\Date;
use Leeto\MoonShine\Fields\Text;
use Leeto\MoonShine\Fields\Textarea;
use Leeto\MoonShine\Resources\Resource;
use Leeto\MoonShine\Fields\ID;
use Leeto\MoonShine\Actions\FiltersAction;
Expand All @@ -32,7 +33,7 @@ class SettingResource extends Resource
)->nullable()->sortable(),
Text::make('Slug', 'slug')->required()->sortable()->hint('a-z, 0-9, -, _'),
Text::make('Hint', 'hint')->nullable()->sortable()->hint('Не используется на сайте, только для удобства администрирования!'),
Text::make('Value', 'value')->required()->sortable(),
Textarea::make('Value', 'value')->required()->sortable(),
Date::make('Updated at', 'updated_at')->sortable()->hideOnForm(),
];
}
Expand Down

0 comments on commit ede3bb9

Please sign in to comment.