always set the val on element so initSelection has access to it. fixes #337
This commit is contained in:
parent
1da4855191
commit
8bab0b6f70
@ -1691,6 +1691,7 @@
|
|||||||
this.clear();
|
this.clear();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
this.opts.element.val(val);
|
||||||
this.opts.initSelection(this.opts.element, function(data){
|
this.opts.initSelection(this.opts.element, function(data){
|
||||||
self.opts.element.val(!data ? "" : self.id(data));
|
self.opts.element.val(!data ? "" : self.id(data));
|
||||||
self.updateSelection(data);
|
self.updateSelection(data);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user