Skip to content
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

can-checked replaces can-value where appropriate #1205

Closed
moschel opened this issue Aug 15, 2014 · 4 comments
Closed

can-checked replaces can-value where appropriate #1205

moschel opened this issue Aug 15, 2014 · 4 comments

Comments

@moschel
Copy link
Contributor

moschel commented Aug 15, 2014

can-value tends to confuse people when used with checkboxes. We should create a can-checked property that cross binds to a property that is a boolean.

@stevenvachon
Copy link
Contributor

+1

@cherifGsoul
Copy link
Member

even with radio buttons

@justinbmeyer justinbmeyer added this to the 2.2.0 milestone Aug 25, 2014
@justinbmeyer justinbmeyer changed the title can-checked can-checked replaces can-value where appropriate Aug 25, 2014
@stevenvachon
Copy link
Contributor

Perhaps a can-selected as well for <option>?

@daffl daffl modified the milestones: 2.3.0, 2.2.0 Jan 10, 2015
@daffl daffl removed this from the 2.3.0 milestone Oct 22, 2015
@justinbmeyer
Copy link
Contributor

This is done in 2.3 with `<input type="checkbox" {^$checked}="is21"/>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants