Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Menu item support for queryParam #283

Closed
1 of 2 tasks
rajddesai opened this issue Feb 28, 2018 · 0 comments
Closed
1 of 2 tasks

Menu item support for queryParam #283

rajddesai opened this issue Feb 28, 2018 · 0 comments

Comments

@rajddesai
Copy link

rajddesai commented Feb 28, 2018

Issue type

I'm submitting a ... (check one with "x")

  • bug report
  • feature request

Issue description

Current behavior:

Not able to pass query parms along with router link:
[queryParams]="{prop: 'xxx'}"

Expected behavior:

Would be nice to have query param support.
e.g. menuItem.queryParams
userMenu = [{ title: 'Profile', link: 'pages/profile', queryParam: "{prop: 'xxx'}" }, { title: 'Log out' }];

Steps to reproduce:

https://github.com/akveo/nebular/blob/master/src/framework/theme/components/menu/menu-item.component.html

Related code:

insert short code snippets here

Other information:

npm, node, OS, Browser

<!--
Node, npm: `node --version` and `npm --version`
OS: Windows (7/8/10). Linux (incl. distribution). macOS (El Capitan? Sierra?)
Browser: Chrome/Safari/Firefox/etc?
-->

Angular, Nebular

<!--
Check your `package-lock.json` or locate a `package.json` in the `node_modules` folder.
-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants