Skip to content

Commit

Permalink
Fix select-multiple in read-view
Browse files Browse the repository at this point in the history
  • Loading branch information
emptynick committed Mar 12, 2019
1 parent 00c7b80 commit 4ee291f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/views/bread/read.blade.php
Expand Up @@ -79,7 +79,7 @@
@endforeach

@elseif(property_exists($row->details, 'options'))
@if (!empty(json_decode($data->{$row->field})))
@if (!empty(json_decode($dataTypeContent->{$row->field})))
@foreach(json_decode($dataTypeContent->{$row->field}) as $item)
@if (@$row->details->options->{$item})
{{ $row->details->options->{$item} . (!$loop->last ? ', ' : '') }}
Expand Down

0 comments on commit 4ee291f

Please sign in to comment.