1
0
mirror of synced 2024-11-29 16:16:02 +03:00

fixes #1528 Returning [] from data method on unset value for single-selects

This commit is contained in:
Igor Vaynberg 2013-07-15 23:01:24 -07:00
parent 01a395f9e1
commit eaf2704a18

View File

@ -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 {