I attach a video showing the problem. I noticed that the problem only occurs if there is a FileUpload in the form. In addition, if the definitions in the action in
$this->form
$this->form
put an array with values from getForm from HeroSection, everything behaves correctly. The problem is when we use
$section = app($record->type);
$section = app($record->type);
. Could someone guide me what the error is due to? Thanks.