error-text="Error text"
              class="custom ion-invalid ion-touched"
            >
              <ion-radio value="1">Label</ion-radio>
              <ion-radio value="2">Label</ion-radio>
              <ion-radio value="3">Label</ion-radio>
              <ion-radio value="4">Label</ion-radio>
              <ion-radio value="5">Label</ion-radio>
            </ion-radio-group>
          </div>
        </div>

        <button onclick="toggleValid()" class="expand">Toggle error</button>

        <scrip