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

add hidden attribute to menuOptions #3334

Closed
aguegu opened this issue Jul 24, 2022 · 0 comments · Fixed by #3372
Closed

add hidden attribute to menuOptions #3334

aguegu opened this issue Jul 24, 2022 · 0 comments · Fixed by #3372

Comments

@aguegu
Copy link

aguegu commented Jul 24, 2022

This function solves the problem (这个功能解决的问题)

There is a disabled attribute in menuOptions. But for some dynamic systems, users with different permissions would see different menu options. Disabling them is quite annoying than just hiding them.

Expected API (期望的 API)

<NMenuOptionContent hidden="{this.hidden}"/>
@github-actions github-actions bot added the feature request New feature or request label Jul 24, 2022
@aguegu aguegu changed the title add show/hide attribute to menuOptions add hidden attribute to menuOptions Jul 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants