Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion components/togglebutton/events.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ The `OnClick` event fires when the user clicks or taps the button, or presses `E

The event handler receives argument of type [MouseEventArgs](https://docs.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.components.web.mouseeventargs).

The `OnClick` event fires before `SelectedChanged`.
The `OnClick` event fires before `SelectedChanged`. Do not change the `Selected` parameter value in the `OnClick` event if the `OnClick` handler is asynchronous. Control the `Selected` parameter value in the [`SelectedChanged` event](#selectedchanged).

>caption Handle the Toggle Button OnClick event

Expand Down