We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5c8ca75 + 07024f9 commit 5c070e3Copy full SHA for 5c070e3
resources/views/fields/select2_from_ajax_multiple.blade.php
@@ -23,7 +23,7 @@
23
@endphp
24
@endif
25
<option value="{{ $item->getKey() }}" selected>
26
- {{ $field['value'] ?? $item->{$field['attribute']} }}
+ {{ $item->{$field['value'] ?? $field['attribute']} }}
27
</option>
28
@endforeach
29
0 commit comments