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

Not able to prepopulate an existing form entry #49

Closed
georgema1982 opened this issue Feb 17, 2012 · 0 comments
Closed

Not able to prepopulate an existing form entry #49

georgema1982 opened this issue Feb 17, 2012 · 0 comments

Comments

@georgema1982
Copy link

There are cases when I want to edit an existing form entry. But looks like FormForForm(form, instance = entry) isn't able to populate the form entry with its field entry values. When I use FormForForm, it's always like a new entry.

I think the problem is in its init function, it always set the initial to be a field's default value. I think init function should be smarter. It should fetch every field entry of the form entry and populate the FormForForm's initial field if instance parameter is set.

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

2 participants