-
Notifications
You must be signed in to change notification settings - Fork 246
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
Toggle Function not handled on cards where I'm using #738
Comments
Is there a message in the Javascript console ? |
Yes, when you click the button |
This has nothing to do with button-card. When you click the button is there an error in the javascript console which appears at the same time? |
No there is no error. Here are two buttons. Hall and Pendant. The Hall button has Java, the Pendant doesn't. If I am on 4.x and above the Hall won't even give me the ability to toggle it. Downgrade to 3.5 and it's fine - screenshot below to prove it after download I have dozens of buttons and none of the buttons with Javascript Templates will toggle on 4.x and above - can't even get the mouse cursor to allow you to toggle per screens shots |
Here's the code from Hall type: custom:button-card
Here's the codefrom Pendant type: custom:button-card
|
Hi! I have this problem too. Not even the cursor indicates that it's a clickable button. I've been able to isolate it pretty good. If I remove the custom fields, within "state:" it works. It's even possible to have the custom field specified outside of the "state:", but as soon as I want to have a custom field dependent on the state, the button can't be clicked.
|
Looks like you've isolated the issue further than me |
🎉 This issue has been resolved in version 4.1.2-dev.1 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Confirming this resolved the issue - thanks! |
🎉 This issue has been resolved in version 4.1.2 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Checklist
Describe the bug
Where I am using a grid and java code to change the icon colours the toggle button become unresponsive in V4.00. If I roll back to 3.42 no issues
Version of the card
4.00
To Reproduce
Screenshots
If applicable, add screenshots to help explain your problem.
Expected behavior
same code on 3.4.2 can toggle the custom button / as soon as I upgrade to 4.0 unable to toggle card
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: