FAPI text_format field value not being passed to submit handler I created a form that I wanted to be reusable. So I created to form below to imported into a add form and a edit form. Please be aware I do have the validateForm, and submitForm function in my code.     

class PaneConfigurationForm extends ConfigFormBase {

    /**
     * {@inheritdoc}
     */
    public function getFormId() {
        return 'admin_pane_settings';
    }

    /**
     * {@inheritdoc}
     */
    public function buildForm(array $form, FormStateInterface $form_state, $element = null) {

       $form['description'] = array(
          '#type' =&gt; 'text_format',
          '#title' =&gt; 'description',
          '#default_value' =&gt; '&lt;p&gt;The quick brown fox jumped over the lazy dog.&lt;/p&gt;',
          '#value' =&gt; '&lt;p&gt;The quick brown fox jumped over the lazy dog.&lt;/p&gt;',
          '#format' =&gt; 'full_html',
       );

       return parent::buildForm($form, $form_state);
    }
}


So in my AddPane form I use the \Drupal::formBuilder()->getForm() function to get the form and apply it to my parent form. For some reason when I submit the form the value is not passed to the submit handler, only to form format.  

class AddPaneForm extends Formbase {

    /**
     * {@inheritdoc}
     */
    public function getFormId() {
        return 'add_admin_pane';
    }

    /**
     * {@inheritdoc}
     */
    public function buildForm(array $form, FormStateInterface $form_state, $element = null) {


          $form = \Drupal::formBuilder()-&gt;getForm('Drupal\_module_\Form\PaneConfigurationForm');

          $form['actions']['submit'] = array(
            '#type' =&gt; 'submit',
            '#value' =&gt; $this-&gt;t('Save'),
          );
    }

    public function submitForm(array &amp;$form, FormStateInterface $form_state)
    {
          $form_state-&gt;getValue('description')
    }
}


What can I do to allow the format and value to be passed to the submit handler, not just the text_format field's format.
Just remove the #value:

$form['description'] = array(
  '#type' =&gt; 'text_format',
  '#title' =&gt; 'description',
  '#default_value' =&gt; '&lt;p&gt;The quick brown fox jumped over the lazy dog.&lt;/p&gt;',
  '#format' =&gt; 'full_html',
);


#value permeates all the way through a form build/validation/submission, and doesn't get replaced with user input.

#default_value will cover the initial value when the form loads.