diff --git a/src/Fields/Properties/WithOptions.php b/src/Fields/Properties/WithOptions.php index b9082f59..410f50ea 100644 --- a/src/Fields/Properties/WithOptions.php +++ b/src/Fields/Properties/WithOptions.php @@ -8,7 +8,7 @@ trait WithOptions { protected function optionsProperty(?array $options = null): array { - $options = $options ?? $this->field->get('options'); + $options = $options ?? $this->field->get('options', []); if (Arr::isAssoc($options)) { return collect($options)