HiddenFormField: Missing in POST

  • Affected App
    WoltLab Suite Core

    1. Create a form like this and load it via FormBuilderDialog:

    PHP
    $dialog = DialogFormDocument::create('myDialog');
    $dialog->appendChild(HiddenFormField::create('test')->value('myValue'));
    $dialog->build();
    return $dialog;



    2. Submit the dialog and take a look at the data submitted by the browser to the server:

    Code
    {"actionName":"myAction","className":"wcf\\data\\test\\TestAction","":"","parameters[formId]":"myDialog"}


    Expected:

    The hidden input field will be visible in the POSTed data.


    Current:

    The hidden input field is missing the POSTed data.


    Tested with d4569269@master.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!