Skip to content

Commit 2ddeb48

Browse files
OwenMelbztabacitu
authored andcommitted
removed the placeholder option from the default multi select2 (#123)
1 parent 4c0508a commit 2ddeb48

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/resources/views/fields/select2_multiple.blade.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
name="{{ $field['name'] }}[]"
66
@include('crud::inc.field_attributes', ['default_class' => 'form-control select2'])
77
multiple>
8-
<option value="">-</option>
9-
8+
109
@if (isset($field['model']))
1110
@foreach ($field['model']::all() as $connected_entity_entry)
1211
<option value="{{ $connected_entity_entry->getKey() }}"
@@ -56,4 +55,4 @@
5655

5756
@endif
5857
{{-- End of Extra CSS and JS --}}
59-
{{-- ########################################## --}}
58+
{{-- ########################################## --}}

0 commit comments

Comments
 (0)