I am using JQuery TokenInput instead of auto search. If I press space bar multiple times, then by using back space, remove all spaces and in result it shows me a list which contains all values of that field.
How can I restrict on search for spaces?
I written like this:
$("#org_id").tokenInput("/org/search_org_by_token_input.json",{
crossDomain: false,
tokenLimit: 1,
minChars:1,
theme: 'facebook',
});