t>
          const radioGroups = document.querySelectorAll('ion-radio-group[helper-text]');

          function toggleValid() {
            radioGroups.forEach((radioGroup) => {
              radioGroup.classList.toggle('ion-invalid');
              radioGroup.classList.toggle('ion-touched');
            });
          }
        </script>
      </ion-content>
    </ion-app>
  </body>
</html>
