We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1cca6d commit ab7114cCopy full SHA for ab7114c
src/Fields/Properties/WithOptions.php
@@ -8,7 +8,7 @@ trait WithOptions
8
{
9
protected function optionsProperty(?array $options = null): array
10
11
- $options = $options ?? $this->field->get('options');
+ $options = $options ?? $this->field->get('options', []);
12
13
if (Arr::isAssoc($options)) {
14
return collect($options)
0 commit comments