[PR #354] Add Click Parameter on MenuItem #2144

Closed
opened 2026-01-29 18:17:25 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/radzenhq/radzen-blazor/pull/354

State: closed
Merged: Yes


Currently it's only possible to provide a Path parameter to the children of the <Menu> and the <Menu> takes full control.

This PR makes it possible to also add the Click EventCallback to the children (MenuItem), this way we can use additional logical before navigation and have more control of the component if we don't want to use the Click of the parent

This PR introduces no breaking changes, but an additional parameter Click to the MenuItem

menuitem-click

**Original Pull Request:** https://github.com/radzenhq/radzen-blazor/pull/354 **State:** closed **Merged:** Yes --- Currently it's only possible to provide a `Path` parameter to the children of the `<Menu>` and the `<Menu>` takes full control. This PR makes it possible to also add the `Click` EventCallback to the children (`MenuItem`), this way we can use additional logical before navigation and have more control of the component if we don't want to use the `Click` of the parent This PR introduces no breaking changes, but an additional parameter `Click` to the `MenuItem` ![menuitem-click](https://user-images.githubusercontent.com/10981553/151600381-c9f21c62-a7b4-4e96-9124-581aed70ec00.gif)
claunia added the pull-request label 2026-01-29 18:17:25 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#2144