From 1d9fd326f078ccf8c3da84c00dffd37fdbd3265a Mon Sep 17 00:00:00 2001 From: = <=> Date: Wed, 7 Mar 2018 15:02:53 +0100 Subject: [PATCH] Resolving the issue 342: we can't select an empty empty string or 0 as value --- src/scripts/src/choices.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/src/choices.js b/src/scripts/src/choices.js index 64dafa6..df182a3 100644 --- a/src/scripts/src/choices.js +++ b/src/scripts/src/choices.js @@ -881,7 +881,7 @@ class Choices { * @private */ _triggerChange(value) { - if (!value) { + if (value == 'undefined') { return; }