Skip to content

Commit

Permalink
Merge pull request #1513 from shevelev-anatoliy/patch-1
Browse files Browse the repository at this point in the history
Add HasPlaceholder trait to Textarea field
  • Loading branch information
lee-to authored Jan 29, 2025
2 parents 7a07f9a + 724c294 commit 25e83fe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/UI/src/Fields/Textarea.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,13 @@
use Illuminate\Contracts\Support\Renderable;
use MoonShine\UI\Contracts\DefaultValueTypes\CanBeString;
use MoonShine\UI\Contracts\HasDefaultValueContract;
use MoonShine\UI\Traits\Fields\HasPlaceholder;
use MoonShine\UI\Traits\Fields\WithDefaultValue;
use MoonShine\UI\Traits\Fields\WithEscapedValue;

class Textarea extends Field implements HasDefaultValueContract, CanBeString
{
use HasPlaceholder;
use WithDefaultValue;
use WithEscapedValue;

Expand Down

0 comments on commit 25e83fe

Please sign in to comment.