skip to Main Content

Set Angular signal value as HTML Selected option

I have an angular component that calls for some data asynchronously and stores the value on a signal like this. tipoSignal: WritableSignal<Tipo> = signal({}) as WritableSignal<Tipo>; ngOnInit(): void { this.tipoService.getTipo().subscribe(tipoReturned => this.tipoSignal.set(tipoReturned) ); } On the HTML side I have…

VIEW QUESTION
Back To Top
Search