Prerequisites
Ionic Framework Version
v8.x
Current Behavior
Initially, the ion-radio-button is checked correctly. But after updating the objects that contain the data that is used to display the ion-radion-buttons, the checked-state gets lost, even though the value property stays the same. Seems that this bug appears on Angular standalone projects.
Perhaps this error could be related to the following issue: #29414
It could also be that this error can be found in other components, such as ion-accordion.
Expected Behavior
The active ion-radio-button should be highlighted when it's value matches the value of it's containing ion-radio-group - as was the case before standalone components.
Steps to Reproduce
- Go to https://stackblitz.com/edit/angular-vquurr-ec7ark?file=src%2Fapp%2Fexample.component.html
- Click the "Update Data" Button
Code Reproduction URL
https://stackblitz.com/edit/angular-vquurr-ec7ark?file=src%2Fapp%2Fexample.component.html
Ionic Info
Ionic CLI : 7.2.0
Ionic Framework : @ionic/angular 8.0.1
@angular-devkit/build-angular : 17.3.6
@angular-devkit/schematics : 17.3.6
@angular/cli : 17.3.6
@ionic/angular-toolkit : 11.0.1
Additional Information
No response
Prerequisites
Ionic Framework Version
v8.x
Current Behavior
Initially, the
ion-radio-buttonis checked correctly. But after updating the objects that contain the data that is used to display the ion-radion-buttons, the checked-state gets lost, even though thevalueproperty stays the same. Seems that this bug appears on Angular standalone projects.Perhaps this error could be related to the following issue: #29414
It could also be that this error can be found in other components, such as
ion-accordion.Expected Behavior
The active ion-radio-button should be highlighted when it's value matches the value of it's containing ion-radio-group - as was the case before standalone components.
Steps to Reproduce
Code Reproduction URL
https://stackblitz.com/edit/angular-vquurr-ec7ark?file=src%2Fapp%2Fexample.component.html
Ionic Info
Ionic CLI : 7.2.0
Ionic Framework : @ionic/angular 8.0.1
@angular-devkit/build-angular : 17.3.6
@angular-devkit/schematics : 17.3.6
@angular/cli : 17.3.6
@ionic/angular-toolkit : 11.0.1
Additional Information
No response