Skip to content

Commit

Permalink
Merge pull request #43 from JulianDroog/bug/remove-empty-option-multi…
Browse files Browse the repository at this point in the history
…select

Bug/remove empty option multiselect
  • Loading branch information
arodu authored May 3, 2024
2 parents 9fce59c + a33a15e commit a64b473
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Datatable/Datatable.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ class Datatable
if (columnsSearch[colIdx].type !== undefined) {
switch (columnsSearch[colIdx].type) {
case 'multiple':
cell.html('<select class="form-select-multiple" multiple="multiple"><option value=""></option></select>');
cell.html('<select class="form-select-multiple" multiple="multiple"></select>');
columnsSearch[colIdx].data.forEach(function (data) {
$(
'select',
Expand Down

0 comments on commit a64b473

Please sign in to comment.