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
Thanks for the report. This can be achieved by calling stopPropagation when the link is clicked. We've had this question asked a few times before, so I decided to add an example to our documentation on how to do this.
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.
Prerequisites
Ionic Framework Version
v7.x
Current Behavior
Adding a link inside the checkbox label should let the user open the link.
Expected Behavior
A link/click inside a label in checkbox should work correctly.
Steps to Reproduce
Add a ion.checkbox like that
If I click on the link part of the label the href don't triggers, instead only works onIonChange.
Code Reproduction URL
https://d6xspp.stackblitz.io
Ionic Info
Ionic:
Ionic CLI : 7.1.1
Utility:
cordova-res : not installed globally
native-run : not installed globally
System:
NodeJS : v18.15.0
npm : 9.5.0
OS : macOS Unknown
Additional Information
No response
The text was updated successfully, but these errors were encountered: