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
Using [attr.disabled]
with no value errors in 2.1.1
#12583
Comments
We have a clear error message when events are bound to undefined:
Do we want to do the same here or assume null/undefined ? |
Let's do this later. For now I will just fall back to the old behavior of ignoring these cases. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
I'm submitting a ... (check one with "x")
Current behavior
Using
[attr.disabled]
with no value causes a runtime error on 2.1.2, whereas it did not on 2.1.1For instance,
<h2 [attr.disabled]>Hello {{name}}</h2>
results in:Expected behavior
Did not expect runtime error on a patch version update where there was no runtime error before.
Minimal reproduction of the problem with instructions
http://plnkr.co/edit/hWsxGPBSGF0z58R1A5Uy?p=preview
Please tell us about your environment:
Plunker
/cc @vicb
The text was updated successfully, but these errors were encountered: