-
Notifications
You must be signed in to change notification settings - Fork 193
{{link-to}} "disabledWhen" documentation wrong? #413
Comments
related? emberjs/ember.js#12344 |
@jcope2013 is correct, emberjs/ember.js#12344 fixed the issue in the Ember release-1-13 branch. So I'm going to go ahead and close... |
sorry, just to follow up: in which release is this fixed? 'cause i'm running ember 1.13.7. |
@Fryie add |
sweet, thanks a lot |
just to clarify, though: why does the syntax with "disabled" work, even though it's supposed to be "static" as per the docs? is that also part of the fixed bug? |
just to answer my own question, "disabled" only seems to work: it creates the right css class, so the link looks disabled, but it's actually clickable. I'll try updating ember and changing back to "disabledWhen". :) |
According to the documentation,
{{link-to}}
should work with adisabledWhen
attribute that is evaluated dynamically (as opposed to the "static"disabled
attribute). This also used to work in Ember 1.12. However, it doesn't seem to work as advertised: http://ember-twiddle.com/4bcac030ed2c19272271Changing
disabledWhen
todisabled
seems to work, however, and doesn't seem to be "static" at all (maybe I'm misunderstanding the labels static and dynamic here?).The text was updated successfully, but these errors were encountered: