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

Ability to disable SplitButton or Menu items #161

Closed
fairking opened this issue Jan 27, 2020 · 1 comment
Closed

Ability to disable SplitButton or Menu items #161

fairking opened this issue Jan 27, 2020 · 1 comment
Assignees
Labels
Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add
Milestone

Comments

@fairking
Copy link

As SplitButton uses the MenuModel applying disabled: true is not working against dropdown buttons.

<SplitButton label="Save" icon="pi pi-plus" :model="items"></SplitButton>

items: [
    {
        label: 'Update',
        icon: 'pi pi-refresh',
    },
    {
        label: 'Delete',
        icon: 'pi pi-times',
        disabled: true,
    },
]
@fairking
Copy link
Author

Tried <Menu> and it looks like the same issue. disabled: true does not do anything.

@fairking fairking changed the title Ability to disable SplitButton menu buttons Ability to disable SplitButton or Menu items Jan 27, 2020
@cagataycivici cagataycivici added this to the 1.0.2 milestone Jan 28, 2020
@cagataycivici cagataycivici added the Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add label Jan 28, 2020
@cagataycivici cagataycivici self-assigned this Jan 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add
Projects
None yet
Development

No branches or pull requests

2 participants