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
I have searched for existing issues that already report this problem, without success.
Ionic Framework Version
v4.x
v5.x
v6.x
Nightly
Current Behavior
When you click inside the ion-item of ion-radio-group will trigger ionChange. It is due to ion-input inside ion-radio-group, I do not know whether it is expected behavior.
Thanks for the issue. Things seem to be working as intended here. Inside of ion-radio-group you have an ion-input. When the plus or minus buttons are clicked, the value property on ion-input changes. This causes ion-input to dispatch an ionChange event. That event then bubbles up to the ion-radio-group, causing the onRadioValueChanged handler to fire.
In terms of fixing this, you have a couple options:
Move the ion-input outside of ion-radio-group.
Add an ionChange listener on ion-input where you call event.stopPropagation() to prevent the event from bubbling.
Can you try either of those and let me know if it resolves the issue?
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.
Uh oh!
There was an error while loading. Please reload this page.
Prerequisites
Ionic Framework Version
Current Behavior
When you click inside the ion-item of ion-radio-group will trigger ionChange. It is due to ion-input inside ion-radio-group, I do not know whether it is expected behavior.
html:
ts:
Expected Behavior
It should not trigger ionChange
Steps to Reproduce
Git branch: ion-radio-propagation
Code Reproduction URL
https://github.com/indraraj26/storage-boolean-issue/tree/ion-radio-propagation
Ionic Info
Ionic:
Ionic CLI : 6.19.0 (C:\Users\user\AppData\Roaming\npm\node_modules@ionic\cli)
Ionic Framework : @ionic/angular 6.1.3
@angular-devkit/build-angular : 13.2.6
@angular-devkit/schematics : 13.2.6
@angular/cli : 13.2.6
@ionic/angular-toolkit : 6.1.0
Capacitor:
Capacitor CLI : 3.5.0
@capacitor/android : 3.6.0
@capacitor/core : 3.6.0
@capacitor/ios : not installed
Utility:
cordova-res : 0.15.4
native-run : 1.5.0
System:
NodeJS : v14.17.1 (C:\Program Files\nodejs\node.exe)
npm : 6.14.13
OS : Windows 10
Additional Information
No response
The text was updated successfully, but these errors were encountered: