Skip to content

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

@jniechcial

Description

@jniechcial

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions