Skip to content

Commit 5c070e3

Browse files
authored
Merge pull request #24 from webfactor/fix_select_multiple
Fix error in select2_from_ajax_multiple
2 parents 5c8ca75 + 07024f9 commit 5c070e3

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)