Closed (fixed)
Project:
Subform
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Oct 2010 at 08:20 UTC
Updated:
9 Jul 2011 at 17:11 UTC
Currently when a subform needs a rebuild we just call drupal_rebuild_form() without adding our own subform specific alterations.
Comments
Comment #1
casey commentedRebuild needed to be propagated all up to the wrapper form to work properly.
Comment #2
casey commentedCurrently testing node forms as subforms and there still seem to be problems.
Comment #3
casey commentedFound part of the issue: sometimes ajax callbacks only render part of a form. #name of input elements however are altered in a #pre_render callback set on the subform element. Instead we could add a #pre_render callback to all elements in the (sub)form.
Comment #4
casey commentedLets consider this fixed for now.