Skip to content

Commit ab0efb6

Browse files
Update setup method to disable dehydration
1 parent c39cbd0 commit ab0efb6

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/Components/SimpleAlert.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,13 @@ class SimpleAlert extends Field
2626

2727
protected string $view = 'filament-simple-alert::components.simple-alert';
2828

29+
protected function setUp(): void
30+
{
31+
parent::setUp();
32+
33+
$this->dehydrated(false);
34+
}
35+
2936
public function actions(array|Closure $actions): static
3037
{
3138
$this->actions = $actions;

0 commit comments

Comments
 (0)