From 0e5c82466f675620540216fd2df350090ea688c7 Mon Sep 17 00:00:00 2001 From: Jack Date: Sun, 18 Mar 2018 14:16:53 -0700 Subject: [PATCH] Labels should check for label existence not value existence Fixes #6123 #6271 #6280 #6276 --- src/definitions/modules/dropdown.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/definitions/modules/dropdown.js b/src/definitions/modules/dropdown.js index d2687ae71c..5b18f25017 100644 --- a/src/definitions/modules/dropdown.js +++ b/src/definitions/modules/dropdown.js @@ -2586,7 +2586,7 @@ $.fn.dropdown = function(parameters) { ; $label = settings.onLabelCreate.call($label, escapedValue, text); - if(module.has.value(value)) { + if(module.has.label(value)) { module.debug('User selection already exists, skipping', escapedValue); return; }