fixes #1528 Returning [] from data method on unset value for single-selects
This commit is contained in:
parent
01a395f9e1
commit
eaf2704a18
@ -2044,7 +2044,7 @@ the specific language governing permissions and limitations under the Apache Lic
|
|||||||
initSelection: function () {
|
initSelection: function () {
|
||||||
var selected;
|
var selected;
|
||||||
if (this.isPlaceholderOptionSelected()) {
|
if (this.isPlaceholderOptionSelected()) {
|
||||||
this.updateSelection([]);
|
this.updateSelection(null);
|
||||||
this.close();
|
this.close();
|
||||||
this.setPlaceholder();
|
this.setPlaceholder();
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user