diff --git a/src/Fieldtypes/HasSelectOptions.php b/src/Fieldtypes/HasSelectOptions.php index c006fc5ef3..8a07a0907f 100644 --- a/src/Fieldtypes/HasSelectOptions.php +++ b/src/Fieldtypes/HasSelectOptions.php @@ -104,8 +104,8 @@ private function getLabel($actualValue) $value = $this->castFromBoolean($value); } - return $this->isOption($value) && Arr::get($this->config('options'), $value) - ? Arr::get($this->config('options'), $value, $value) + return $this->isOption($value) + ? Arr::get($this->config('options'), $value) ?? $value : $actualValue; }