diff --git a/src/js/control/select.js b/src/js/control/select.js index 9de4191f1..163fa98ae 100644 --- a/src/js/control/select.js +++ b/src/js/control/select.js @@ -93,6 +93,7 @@ export default class controlSelect extends control { const labelAttrs = { for: optionAttrs.id } let output = [input, this.markup('label', labelContents, labelAttrs)] if (toggle) { + delete labelAttrs.for labelAttrs.className = 'kc-toggle' labelContents.unshift(input, this.markup('span')) output = this.markup('label', labelContents, labelAttrs)