Skip to content

Commit 07024f9

Browse files
committed
Fix error in select2_from_ajax_multiple
1 parent 5c8ca75 commit 07024f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/views/fields/select2_from_ajax_multiple.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
@endphp
2424
@endif
2525
<option value="{{ $item->getKey() }}" selected>
26-
{{ $field['value'] ?? $item->{$field['attribute']} }}
26+
{{ $item->{$field['value'] ?? $field['attribute']} }}
2727
</option>
2828
@endforeach
2929
@endif

0 commit comments

Comments
 (0)