Closed wilianwrech closed 4 years ago
Maybe try with [hidden]='obj.radioVisible != 1'
instead of *ngIf='obj.radioVisible == 1'
I have had issues with *ngIf
because it modifies the DOM.
Maybe try with
[hidden]='obj.radioVisible != 1'
instead of*ngIf='obj.radioVisible == 1'
I have had issues with
*ngIf
because it modifies the DOM.
I already did a workaround before opening the issue, I could not use hidden because I was having some problems with ngModel, I just switched to checkboxes, restyled using css and assigned changes to do the radio behavior. I opened the issue to report the bug, unfortunately, no one did the triage.
Thanks for replying 😄
Thanks for the issue. Is this an issue with the latest version of Ionic Framework? If so, can you provide a repo with the code required to reproduce the issue?
Thanks for the issue! This issue is being closed due to the lack of a reply. 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.
Thank you for using Ionic!
Bug Report
Ionic version: 4.9.0
Current behavior: Looping forever triggering ionChange and freezing app
Expected behavior: Do not loop forever and not freeze app
Steps to reproduce: Create one page with the code bellow, check one radio, toggle the radio using the button and toggle again.
Related code: .html
.ts
Ionic info: