Skip to content

Commit

Permalink
fix(NcCheckBoxRadioSwitch): does not toggle checkbox when clicking on…
Browse files Browse the repository at this point in the history
… a link

Signed-off-by: DorraJaouad <dorra.jaoued7@gmail.com>
  • Loading branch information
DorraJaouad authored and backportbot[bot] committed Aug 23, 2024
1 parent 0e5c952 commit 4fd3786
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -583,8 +583,8 @@ export default {
t,
n,
onToggle() {
if (this.disabled) {
onToggle(event) {
if (this.disabled || event.target.tagName.toLowerCase() === 'a') {
return
}
Expand Down

0 comments on commit 4fd3786

Please sign in to comment.