Custom formatting for countSelectedText

This commit is contained in:
Łukasz Mierzwa
2017-04-22 17:51:53 -07:00
parent f83660c43d
commit 907949b9a3
2 changed files with 5 additions and 2 deletions

View File

@@ -183,7 +183,10 @@ var UI = (function(params) {
deselectAllText: 'None',
noneSelectedText: $(this).data('label-key') + ": none",
multipleSeparator: ' ',
selectedTextFormat: 'count > 1'
selectedTextFormat: 'count > 1',
countSelectedText: function (numSelected, numTotal) {
return $(elem).data('label-key') + ": " + numSelected + " values selected";
}
});
});
$('.datetime-picker').datetimepicker({

File diff suppressed because one or more lines are too long