fix initSelection with empty input value
This commit is contained in:
parent
b6186164fe
commit
c8cae0a6c9
@ -1805,6 +1805,7 @@ the specific language governing permissions and limitations under the Apache Lic
|
||||
initSelection: function () {
|
||||
var selected;
|
||||
if (this.opts.element.val() === "" && this.opts.element.text() === "") {
|
||||
this.updateSelection([]);
|
||||
this.close();
|
||||
this.setPlaceholder();
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user