Skip to content

Commit

Permalink
SAK-48914 Search group icon missing for bootstrap-multiselect (sakaip…
Browse files Browse the repository at this point in the history
…roject#11585)

Co-authored-by: Sean Horner <[email protected]>
  • Loading branch information
hornersa and hornersa authored May 23, 2023
1 parent b822492 commit 0af330e
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,12 @@ function resizeFrame(){
class="btn btn-primary multiselect dropdown-toggle"
data-bs-toggle="dropdown">
<span class="multiselect-selected-text"></span>
<i class="si si-caret-down-fill ps-2"></i>
</button>
`,
filter: `
<div class="multiselect-filter d-flex align-items-center"><i class="fa fa-sm fa-search text-muted"></i><input type="search" class="multiselect-search form-control" /></div>
`,
},
});
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,12 @@
class="btn btn-primary multiselect dropdown-toggle"
data-bs-toggle="dropdown">
<span class="multiselect-selected-text"></span>
<i class="si si-caret-down-fill ps-2"></i>
</button>
`,
filter: `
<div class="multiselect-filter d-flex align-items-center"><i class="fa fa-sm fa-search text-muted"></i><input type="search" class="multiselect-search form-control" /></div>
`,
},
});
$('#selectedGroups').change(function(){
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
filterPlaceholder: '$tlang.getString("access.edit.searchgroup")',
templates: {
button: '<button type="button" class="multiselect dropdown-toggle btn-primary" data-bs-toggle="dropdown"><span class="multiselect-selected-text"></span><i class="si si-caret-down-fill ps-2"></i></button>',
filter: '<div class="multiselect-filter d-flex align-items-center"><i class="fa fa-sm fa-search text-muted"></i><input type="search" class="multiselect-search form-control" /></div>',
},
enableFiltering: true,
enableCaseInsensitiveFiltering: true
Expand All @@ -32,6 +33,7 @@
nSelectedText: ' $tlang.getString("access.edit.groupsselected")',
templates: {
button: '<button type="button" class="multiselect dropdown-toggle btn-primary" data-bs-toggle="dropdown"><span class="multiselect-selected-text"></span><i class="si si-caret-down-fill ps-2"></i></button>',
filter: '<div class="multiselect-filter d-flex align-items-center"><i class="fa fa-sm fa-search text-muted"></i><input type="search" class="multiselect-search form-control" /></div>',
},
filterPlaceholder: '$tlang.getString("access.edit.searchgroup")',
enableFiltering: true,
Expand Down
3 changes: 2 additions & 1 deletion samigo/samigo-app/src/webapp/jsf/author/authorSettings.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,8 @@
allSelectedText: allSelectedText,
nSelectedText: nSelectedText,
templates: {
button: '<button type="button" class="multiselect dropdown-toggle btn-primary" data-bs-toggle="dropdown"><span class="multiselect-selected-text"></span><i class="si si-caret-down-fill ps-2"></i></button>'
button: '<button type="button" class="multiselect dropdown-toggle btn-primary" data-bs-toggle="dropdown"><span class="multiselect-selected-text"></span><i class="si si-caret-down-fill ps-2"></i></button>',
filter: '<div class="multiselect-filter d-flex align-items-center"><i class="fa fa-sm fa-search text-muted"></i><input type="search" class="multiselect-search form-control" /></div>',
},
});
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,8 @@
allSelectedText: allSelectedText,
nSelectedText: nSelectedText,
templates: {
button: '<button type="button" class="multiselect dropdown-toggle btn-primary" data-bs-toggle="dropdown"><span class="multiselect-selected-text"></span><i class="si si-caret-down-fill ps-2"></i></button>'
button: '<button type="button" class="multiselect dropdown-toggle btn-primary" data-bs-toggle="dropdown"><span class="multiselect-selected-text"></span><i class="si si-caret-down-fill ps-2"></i></button>',
filter: '<div class="multiselect-filter d-flex align-items-center"><i class="fa fa-sm fa-search text-muted"></i><input type="search" class="multiselect-search form-control" /></div>',
},
});
});
Expand Down

0 comments on commit 0af330e

Please sign in to comment.