jquery_chained
jquery_chained copied to clipboard
Add name for empty value
$.fn.remoteChained.defaults = {
...
emptyValueName: '-'
};
And before "Add new options from json" need to add this code:
if (settings.emptyValueName) {
option_list.unshift(['', settings.emptyValueName]);
}