Closed
Description
I want to use the createFilter feature using the following example:
var unique = $('#select-words-unique').selectize({
create: true,
createFilter: function(input) {
console.log(input);
return $.grep(unique.getValue(), function(value) {
return value.toLowerCase() === input;
}).length == 0;
}
})[0].selectize;
In my case, I would like to create a new item, but case-sensitive.
However, the issue is such that the string returned contained in "input" is always lowercased despite not forcing it to be.
I use Google Chrome.
Thank you.
Metadata
Metadata
Assignees
Labels
No labels