Closed IndyDevGuy closed 4 years ago
Can you show some code ?
The folloing code is running on my Sf4 fresh install.
$data = array(); $form = $this->createFormBuilder( $data )->add( 'editor', FroalaEditorType::class, array( "language" => "fr", ) )->getForm();
Sorry form my long delay in response, I have since sorted this out (misunderstanding on my end).
When trying to add this type as a field to my form it says that o arguments were passed and the constructor was expecting 4 in FroalaEditorType class. My Symfony version is 4. What are the exact steps to set this up with Symfony 4? Thanks for your time.