Trumbowyg: Can't get the textarea value in PHP
<p>I'm trying to use a WYSIWYG editor in my Laravel application but I have a bug I can't solve.</p>

<p>What works:</p>

<ul>
<li>A form that sends a post request with a text area filled (name = pitch)</li>
<li>So the request is well formed and I can retrieve it in my controller, everything is perfect</li>
</ul>

<p><strong>My Problem</strong></p>

<p>When I add a WYSIWYG editor on this specific textarea (with Trumbowyg or Redactor, I tried both), then <code>pitch</code> disappears from the request and I can't get it on the controller.</p>

<p>I don't have any JS issue in the console, when I delete the call to the WYSIWYG editor, everything is fine, so I don't know where to search. </p>

<p>DB field for <code>pitch</code> is <code>text</code> (I tried switching it to <code>string</code>, but didn't work either).</p>

<p>Here is my view code:</p>



<pre class="lang-php prettyprint-override"><code>         &lt;tr&gt;
             &lt;td&gt;{!! Form::label('pitch', 'Pitch') !!}&lt;/td&gt;
             &lt;td&gt;{!! Form::textarea('pitch','',array('class' =&gt; 'pitch')) !!}&lt;/td&gt;
         &lt;/tr&gt;

&lt;script type="text/javascript"&gt;
    $(function()
    {
        $('#pitch').trumbowyg({
            resetCss: true
        });             
    });
&lt;/script&gt;
</code></pre>

<p>And in the Controller, this code gives me <code>null</code></p>

<pre class="lang-php prettyprint-override"><code>dd($request-&gt;input('pitch'));
</code></pre>

<p><a href="https://gist.github.com/YannDecoopman/981169d01341e99569a6" rel="nofollow">Mode Code Sample in this gist</a></p>