how to disable menu in app-layout ?

In, vaadin 23.
I want to disable a menu and not allow it to navigate to the menu page when user clicks on it

Please don’t ping people, if someone can help you he will

It depends a bit of your usecase, but I would probably hide it instead make it disabled. Disabling an link is tricky from an accessibility point of view.

Thanks @faithful-emu

say if landing page is Dashboard as above photo, if i try to hide it. what is new landing page ?

Hiding the menu won’t block the page, so I would suggest to secure your page, by doing this for example: Navigation Lifecycle | Routing & Navigation | Vaadin Docs

Thanks @faithful-emu