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

md-btn isDisabled doesn't disable event #201

Closed
kagemusha opened this issue Aug 7, 2015 · 1 comment
Closed

md-btn isDisabled doesn't disable event #201

kagemusha opened this issue Aug 7, 2015 · 1 comment
Labels

Comments

@kagemusha
Copy link
Contributor

I have an md-btn which sets the isDisabled property. When isDisabled is true, the button style grays out as expected, but the event still gets sent when clicked. Presumably it shouldn't get sent?

My button:

{{md-btn buttonType='floating' isDisabled=disableDelete class='delete-card-button btn-small'    
action="deleteCard" actionArg=card icon='mdi-action-delete'}}
@whollacsek
Copy link

Hi, could you please reopen this issue?

f9537ff didn't use the correct condition to disable click events.
As far as I understand !this.get('disabled') should have been !this.get('isDisabled')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants