Skip to content

Commit

Permalink
fix(core): Checkbox link in label is not clickable
Browse files Browse the repository at this point in the history
closes [#12577](#12577)

## Description
Updated the checkbox component to ensure that links within custom labels are clickable and function as intended. This resolves the issue observed in the documentation example.
  • Loading branch information
khotcholava committed Oct 23, 2024
1 parent ad20842 commit aca9b8f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libs/core/checkbox/checkbox/checkbox.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ fd-checkbox {

.fd-checkbox__label {
user-select: none;

.fd-checkbox__label-container {
pointer-events: auto;
}
}

&.fd-checkbox--standalone {
Expand Down

0 comments on commit aca9b8f

Please sign in to comment.