Forms framework bugs #424

Open
devinus opened this Issue May 10, 2011 · 0 comments

Comments

Projects
None yet
2 participants
Contributor

devinus commented May 10, 2011

Two observed bugs in forms framework using master:

  1. The form fields were not binding to their appropriate properties on my controller's content object.
  2. There was a noticeable lag focusing between fields

I observed this using the generic example from the doc comment:

childViews: "fullName gender".w(),
contentBinding: 'MyApp.personController',

fullName: SC.FormView.row("Name:", SC.TextFieldView.extend({
  layout: {height: 20, width: 150}
})),

gender: SC.FormView.row("Gender:", SC.RadioView.design({
  layout: {width: 150, height: 40, centerY: 0},
  items: ["male", "female"]
}))

With controller stub:

MyApp.personController = SC.ObjectController.create({
  content: SC.Object.create({
    fullName: 'Charles Jolley',
    gender: 'male'
  })
});

ialexi was assigned May 11, 2011

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