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-value when cross-bound with input value using === comparison #811

Closed
machellerogden opened this issue Mar 21, 2014 · 0 comments
Closed
Milestone

Comments

@machellerogden
Copy link

Possible bug found involving can-value. It seems that when cross-bounding with an input value a === comparison is being applied.

For example, given the following...

<input name="style" type="radio" can-value="styleId" value="{{id}}" />

If id is a Number and styleId is a String at the time the component initializes, these values will not be properly cross-bound.

I'll try to follow-up with a pull request shortly.

@justinbmeyer justinbmeyer added Bug and removed Bug labels Mar 22, 2014
ccummings pushed a commit that referenced this issue Apr 30, 2014
ccummings pushed a commit that referenced this issue Apr 30, 2014
ccummings pushed a commit that referenced this issue Apr 30, 2014
@ccummings ccummings mentioned this issue Apr 30, 2014
@ccummings ccummings added this to the 2.1.0 milestone Apr 30, 2014
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

3 participants