mirror of
https://github.com/Choices-js/Choices.git
synced 2024-05-17 04:56:34 +02:00
Resolving the issue 342: we can't select an empty empty string or 0 as value
This commit is contained in:
parent
1e6ae4e3f9
commit
1d9fd326f0
|
@ -881,7 +881,7 @@ class Choices {
|
|||
* @private
|
||||
*/
|
||||
_triggerChange(value) {
|
||||
if (!value) {
|
||||
if (value == 'undefined') {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue