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
When I go to the profiler, it throws an exception Key "type_class" for array with keys "id, name, view_vars, children" does not exist in @WebProfiler/Collector/form.html.twig at line 460.
So adding elements to the created form (not form builder) leads to this problem.
Btw, is it a bad practice to add buttons (specific for controller action) in such a manner? I know that a can use inherit_data for the SurveyType, but it does not allow to have DATA events, which I do use in this particular case.
The text was updated successfully, but these errors were encountered:
@vudaltsov thanks for reporting this issue. It looks like a duplicate of #20823 which has already been fixed in the 3.2 branch and it will be available in the upcoming 3.2.1.
I have a controller with the following code:
When I go to the profiler, it throws an exception
Key "type_class" for array with keys "id, name, view_vars, children" does not exist in @WebProfiler/Collector/form.html.twig at line 460.
So adding elements to the created form (not form builder) leads to this problem.
Btw, is it a bad practice to add buttons (specific for controller action) in such a manner? I know that a can use inherit_data for the
SurveyType
, but it does not allow to have DATA events, which I do use in this particular case.The text was updated successfully, but these errors were encountered: