ionic-framework
ionic-framework copied to clipboard
bug: clicking the link inside the ion-checkbox toggles checkbox
Prerequisites
- [X] I have read the Contributing Guidelines.
- [X] I agree to follow the Code of Conduct.
- [X] I have searched for existing issues that already report this problem, without success.
Ionic Framework Version
v8.x
Current Behavior
Clicking the link inside the ion-checkbox toggles (check/uncheck) the checkbox. See the details in the ionic doc https://ionicframework.com/docs/api/checkbox#links-inside-of-labels
Expected Behavior
Clicking the link inside the ion-checkbox should not check a checkbox
Steps to Reproduce
See the details here https://github.com/ryaa/links-inside-of-labels-issue
Code Reproduction URL
https://github.com/ryaa/links-inside-of-labels-issue
Ionic Info
Ionic CLI : 7.2.0 (/Users/alexryltsov/.nvm/versions/node/v20.11.1/lib/node_modules/@ionic/cli) Ionic Framework : @ionic/angular 8.2.0 @angular-devkit/build-angular : 17.3.8 @angular-devkit/schematics : 17.3.8 @angular/cli : 17.3.8 @ionic/angular-toolkit : 11.0.1
Capacitor:
Capacitor CLI : 6.0.0 @capacitor/android : not installed @capacitor/core : 6.0.0 @capacitor/ios : not installed
Utility:
cordova-res : not installed globally native-run : 2.0.1
System:
NodeJS : v20.11.1 (/Users/alexryltsov/.nvm/versions/node/v20.11.1/bin/node) npm : 10.5.0 OS : macOS Unknown
Additional Information
See above