diff --git a/src/views/fields/select_option.blade.php b/src/views/fields/select_option.blade.php index de90bfe..50adea8 100644 --- a/src/views/fields/select_option.blade.php +++ b/src/views/fields/select_option.blade.php @@ -1 +1 @@ -attributes->value == $key || $Field->default_value == $key ? ' selected' : '') }}{{ (is_array($Field->attributes->value) && in_array($key, $Field->attributes->value) ? ' selected' : '') }}>{{ $value }} +attributes->value == $key || ($Field->default_value == $key && !$Field->attributes->value)? ' selected' : '') }}{{ (is_array($Field->attributes->value) && in_array($key, $Field->attributes->value) ? ' selected' : '') }}>{{ $value }}