-
Notifications
You must be signed in to change notification settings - Fork 13.5k
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
Cannot disable an ion-list button on Ionic 2 #6108
Comments
In my opinion: You cannot combine button with ion-item directive?! |
You can: "Use for something that can be clicked/tapped. Typically this element will also have a (click) handler." |
As a workaround for now I've defined the following CSS:
And then in my HTML:
|
add opacity and remove pointer events closes #6108
This has been added to the
If you haven't updated to beta.7 yet, check out the changelog for steps to update. Let me know if you find any issues. Thanks! |
Thanks so much! |
I have the following view which doesn't work as expected (button isn't disabled):
<ion-list> <button ion-item disabled> My Button </button> </ion-list>
Ionic Version: 2.0.0-beta.3
The text was updated successfully, but these errors were encountered: