can-value when cross-bound with input value using === comparison #811

Closed
machellerogden opened this Issue Mar 21, 2014 · 0 comments

Comments

Projects
None yet
3 participants
@machellerogden

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 added a commit that referenced this issue Apr 30, 2014

ccummings added a commit that referenced this issue Apr 30, 2014

ccummings added a commit that referenced this issue Apr 30, 2014

@ccummings ccummings referenced this issue Apr 30, 2014

Merged

Fix for 811 #924

@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