We built store bound data controls because Ext doesn't let you do a two way data bind between a control and a Record. Even in ExtJS4 they still haven't fixed this. You have to manually call updateRecord on your form to update your Model with whatever the user has entered. Even worse if you are trying to use the RestProxy then there is no way to bind the errors you get back automatically to your form. The guy in this article figured out a way to do it manually.
Edit:
Some guy figured out how fix this by overriding the Ext core code.
https://github.com/devilry/devilry-django/issues/112
Edit:
Some guy figured out how fix this by overriding the Ext core code.
https://github.com/devilry/devilry-django/issues/112
No comments:
Post a Comment