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

Ember forms loosing binding when wrapped in if statement (Ember 1.13.2) #106

Open
jniechcial opened this issue Jul 10, 2015 · 0 comments
Open

Comments

@jniechcial
Copy link

Hi, we got an issue after updating Ember to 1.13. Our em-inputs are loosing binding to the property when rendered in if statement after the condition changes. Take a look at example:

em-form model=this submit_button=false      
  = em-input type="text" property="myBinding"
  if someCondition
    = em-input type="text" property="myBinding"
  else
    = em-input type="text" property="myBinding"

The first input is working always. The second and the third are working depending of which one is rendered first until the condition changes.

Do you know what may be the reason for such behaviour? The case may be in using Glimmer engine after the update.

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

No branches or pull requests

1 participant