Resolving the issue 342: we can't select an empty empty string or 0 as value. EDIT.

This commit is contained in:
= 2018-03-07 16:12:48 +01:00 committed by Josh Johnson
parent 1d9fd326f0
commit a2a9953b1b

View file

@ -881,7 +881,7 @@ class Choices {
* @private * @private
*/ */
_triggerChange(value) { _triggerChange(value) {
if (value == 'undefined') { if ((typeof value == 'undefined') || value == null) {
return; return;
} }