Skip to content

Cannot disable the kebab dropdown in pf-list-view #306

@AparnaKarve

Description

@AparnaKarve

I have a use case where I need to either hide or disable the kebab dropdown in the PF list view.

I noticed that there is a ng-class="{'disabled': checkDisabled(item)}" in the generated html to disable the kebab dropdown as shown below, which does not work.

<button class="btn btn-link dropdown-toggle" type="button" id="dropdownKebabRight_0" ng-class="{'disabled': checkDisabled(item)}" ng-click="setupActions(item, $event)" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><span class="fa fa-ellipsis-v"></span></button>

Also, is there an option to hide the kebab dropdown based on a condition?

/cc @jeff-phillips-18

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions