You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pagetree's auto-generated <form> tag has a few problems preventing
me from using it with the goal forms:
* After submitting an invalid form, Pagetree's Submit button disappears,
preventing the user from being able to submit the form again.
* The "change my answers" form isn't compatible with formsets. See
ccnmtl/django-pagetree#58
My solution is to again have the pageblock render its own <form>. This
necessitates an unfortunate hack: hiding pagetree's Submit button with
JavaScript. This is one of the reasons I think needs_submit should be
broken out into two different configurable params: Something like
`handles_post_data` and `renders_form`. Related to issue here:
ccnmtl/django-pagetree#44
I have a custom pageblock that manages a dynamic formset, and it's not clear how I would integrate that with pagetree's pre-generated
<form>
.For example, when using the "change my answers" feature with a formset, I get the error: "ManagementForm data is missing or has been tampered with"
This is related to issue #44.
The text was updated successfully, but these errors were encountered: