diff --git a/src/Forms/Components/Flatpickr.php b/src/Forms/Components/Flatpickr.php index 6edc451..e52f166 100644 --- a/src/Forms/Components/Flatpickr.php +++ b/src/Forms/Components/Flatpickr.php @@ -803,7 +803,7 @@ public function theme(FlatpickrTheme $theme): static public function getTheme(): string { - return $this->theme?->value; + return $this->theme->value; } public function getThemeAsset(): string