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

Can't disable/hide ActionItems inside ManagementToolbar Quick Actions #1150

Closed
jbalsas opened this issue Aug 31, 2018 · 0 comments
Closed

Can't disable/hide ActionItems inside ManagementToolbar Quick Actions #1150

jbalsas opened this issue Aug 31, 2018 · 0 comments
Labels
type: bug Issues reporting that Component is not doing what should be done

Comments

@jbalsas
Copy link
Contributor

jbalsas commented Aug 31, 2018

Based on the API, actionItems passed to the ManagementToolbar support a disabled attribute:

{@param? actionItems: list<[
    disabled: bool,
    href: string,
    icon: string,
    label: string,
    quickAction: bool,
    separator: bool,
    type: string
]>}

When rendered as quick actions, the disabled attribute is not used, rendering the icon/buttons always as active.

The actionItems dropdown does support the disabled attribute implicitly.

@jbalsas jbalsas added the type: bug Issues reporting that Component is not doing what should be done label Aug 31, 2018
matuzalemsteles added a commit to matuzalemsteles/clay that referenced this issue Aug 31, 2018
matuzalemsteles added a commit to matuzalemsteles/clay that referenced this issue Aug 31, 2018
matuzalemsteles added a commit to matuzalemsteles/clay that referenced this issue Aug 31, 2018
jbalsas added a commit that referenced this issue Sep 3, 2018
Fixes #1150 - Disable actionItems inside ManagementToolbar Quick Actions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Issues reporting that Component is not doing what should be done
Projects
None yet
Development

No branches or pull requests

1 participant