jquery_chained icon indicating copy to clipboard operation
jquery_chained copied to clipboard

Add name for empty value

Open matiosfree opened this issue 9 years ago • 0 comments

$.fn.remoteChained.defaults = {
        ...
        emptyValueName: '-'
};

And before "Add new options from json" need to add this code:

if (settings.emptyValueName) {
    option_list.unshift(['', settings.emptyValueName]);
}

matiosfree avatar Apr 03 '15 07:04 matiosfree