You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug: ion-checkbox doesn't show label from variable after navigating in Angular #31052
I have searched for existing issues that already report this problem, without success.
Ionic Framework Version
v8.x
Current Behavior
In Ionic 8.8.2 bug #30632 was fixed, but that introduced a new bug:
When an ion-checkbox gets its label from an Angular variable, and you navigate from another page to the page with the checkbox, the label doesn't show.
Expected Behavior
The checkbox label always shows the contents of the Angular variable.
Click the home icon in the upper left navbar to go to the home page, and then click the checkbox icon in the navbar just below the home icon to go back to the checkbox page
Observe that now all checkbox labels have disappeared.
Thank you for submitting the issue!! I was able to replicate the issue. It seems that the onSlotchange isn't being called at the appropriate time when navigating from a page. We'll look into a solution as soon as we can!
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.
Activity
[-]bug:[/-][+]bug: ion-checkbox doesn't show label from variable after navigating in Angular[/+]thetaPC commentedon Apr 1, 2026
Thank you for submitting the issue!! I was able to replicate the issue. It seems that the
onSlotchangeisn't being called at the appropriate time when navigating from a page. We'll look into a solution as soon as we can!fix(checkbox): show labels after page navigation (#31062)
SandraCaci commentedon Apr 23, 2026
Thanks, it works fine now in @ionic/angular 8.8.4!
ionitron-bot commentedon May 23, 2026
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.