id="set-contents" onclick="setContents()">Set Contents</button>

    <script>
      let selects = document.querySelectorAll('ion-select');
      const options = ['bird', 'dog', 'shark', 'lizard'];

      const setContents = () => {
        selects.forEach((select) => {
          options.forEach((option) => {
            let o = document.createElement('ion-select-option');
            o.value = option;
            o.textContent = option;

            select.appendChild(o);
          });

          select.val