Skip to content

Commit

Permalink
Experiment with not listening to CheckedChanged and propagating to cl…
Browse files Browse the repository at this point in the history
…ickhandler instead
  • Loading branch information
David-Moreira committed Feb 17, 2024
1 parent a568afd commit 2ee961f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/Blazorise/Components/Dropdown/DropdownItem.razor
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<a @ref="@ElementRef" id="@ElementId" class="@ClassNames" style="@StyleNames" @onmouseup="@ClickHandler" @onmousedown="@EventCallback.Empty" @onmousedown:preventDefault @attributes="@Attributes">
@if ( ShowCheckbox )
{
<Div Display="Blazorise.Display.InlineBlock" @onclick:stopPropagation @onmouseup:stopPropagation>
<Check TValue="bool" Checked="@(@checked)" CheckedExpression="@checkedExpression" CheckedChanged="@CheckedChangedHandler" Disabled="@Disabled" @onclick:stopPropagation>
<Div Display="Blazorise.Display.InlineBlock" @onclick:stopPropagation >
<Check TValue="bool" Checked="@(@checked)" CheckedExpression="@checkedExpression" Disabled="@Disabled" @onclick:stopPropagation>
@ChildContent
</Check>
</Div>
Expand Down

0 comments on commit 2ee961f

Please sign in to comment.