Angular, Typescript, JavaScript.
type="radio" [checked]="radioValue() === 3" (change)="radioValue.set(3)" id="radio3"/> <label for="radio3">3</label> </div> <div> <input type="radio" [checked]="radioValue() === 4" (change)="radioValue.set(4)" id="radio4"/> <label for="radio4">4</label> </div> </div> <div> @switch (radioValue()) {