I am trying to add a class to a laravel form. The array is passed as the third argument if required, but I get the above error.
{{ Form::input('text', $variable->name, array('class' => 'form-control')) }}
If I get rid of the third argument, the form will display as expected (uninstalled). I donβt see what I am doing wrong here - can anyone help?
source
share