jQuery-Autocomplete icon indicating copy to clipboard operation
jQuery-Autocomplete copied to clipboard

how to clear current value when the el is blur

Open netmou opened this issue 4 years ago • 0 comments

onBlur: function () { var that = this, options = that.options; /////////////////////////////////////////////////////////////////////// if (that.selection == null) { (options.onInvalidateSelection || $.noop).call(that.element); } //////////////////////////////////////////////////////////////////

        // If user clicked on a suggestion, hide() will
        // be canceled, otherwise close suggestions
        that.blurTimeoutId = setTimeout(function () {
            that.hide();
        }, 200);
    },

is there anyother way?

netmou avatar Dec 04 '20 02:12 netmou