code: function setSelectedElement(cstOption) {
      if (selectedElement) {
        selectedElement.classList.remove(builderParams.isSelectedClass);
        selectedElement.removeAttribute('id');
        opener.removeAttribute('aria-activedescendant');
      }
      if (typeof cstOption !== 'undefined') {
        cstOption.classList.add(builderParams.isSelectedClass);
        cstOption.setAttribute('id', `${containerClass}-${uId}-selectedOption`);
        opener.setAttribute('aria-activedescendant', `${containerClass}-${uId}-selectedOption`);
        selectedElement = cstOption;
        opener.children[0].textContent = selectedElement.customSelectOriginalOption.text;
      } else {
        selectedElement = undefined;
        opener.children[0].textContent = '';
      }
      setFocusedElement(cstOption);
    }
docs: Reassigns the focused and selected custom option Updates the opener text IMPORTANT: the setSelectedElement function doesn't change the select value!