-
Notifications
You must be signed in to change notification settings - Fork 7
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
Support disabled attribute #13
Comments
Reopened and renamed. Disabled attribute is supported, but not implemented by this view. |
@doratias What do you think? |
What api are we thinking then? |
hi @jzaefferer, all view's accept this, and do so through the there have been a lot of discussions about which view modules should accept which DOM attrs/props. As a general rule, we've been somewhat defaulting to saying 'use the bindings' vs. add additional code for single attributes. HTH |
Well, having to extend the view isn't exactly "accepting" (or even supporting). Considering all the existing supported properties, excluding disabled seems pretty arbitrary. If that's what its going to be, I suggest to at least improve the documentation: https://github.com/AmpersandJS/ampersand-checkbox-view#properties (pointing to source code in place of proper docs isn't that great either). |
@jzaefferer, i agree it's verbose. it is certainly 'supported', however. :) definitely accepting PRs to update as you think would increase understanding and clarity. |
Sorry, I won't be able to help with a PR. |
It should be possible to make a checkbox disabled. Is there a reason for this one to not include that? Or just missing?
The text was updated successfully, but these errors were encountered: