diff --git a/assets/scripts/src/choices.js b/assets/scripts/src/choices.js index d38d1e5..93d1dd3 100644 --- a/assets/scripts/src/choices.js +++ b/assets/scripts/src/choices.js @@ -1651,7 +1651,9 @@ export class Choices { containerOuter.appendChild(dropdown); containerInner.appendChild(itemList); - dropdown.appendChild(choiceList); + if(this.passedElement.type !== 'text') { + dropdown.appendChild(choiceList); + } if(this.passedElement.type === 'select-multiple' || this.passedElement.type === 'text') { containerInner.appendChild(input);