//The minimum number of characters the user must type before a filter is performed.
config.config.minLength= 3;
//Specifies the delay in milliseconds before the search-text typed by the end user is cleared.
config.config.delay= 700;
//If set to true the widget will not show all items when the text of the search input cleared.
//By default the widget shows all items when the text of the search input is cleared. Works in conjunction with minLength.
config.config.enforceMinLength= true;
I'm trying to avoid extra work by adding this code to every dropdown search attribute, so wonder if anyway to apply this globally to every dropdown by default.
function configureDropdown(config) {
//The minimum number of characters the user must type before a filter is performed.
config.config.minLength= 3;
//Specifies the delay in milliseconds before the search-text typed by the end user is cleared.
config.config.delay= 700;
//If set to true the widget will not show all items when the text of the search input cleared.
//By default the widget shows all items when the text of the search input is cleared. Works in conjunction with
minLength.
config.config.enforceMinLength= true;
}
Then in the attribute initialization script, call the function.
You still have to "touch" each attribute, but the good news is that any configuration changes you make in the function will be reflected globally. And you can make the change without stopping/restarting AIM. Just remember to clear your browser cache.