Open inpresif opened 5 years ago
I've been trying all sorts of variants, none seem to work?
{!! Form::open()->url(url('/usersettings/'))->multipart()->method('post')->id('usersettings')->idPrefix('usrsettings_')->class('whatever') !!}
The above throws an error: Call to undefined method NetoJose\Bootstrap4Forms\FormService::class()
This one (or variations) just doesn't add anything: {!! Form::open(['url' => '/submitform/', 'class' => 'whatevr'] )) !!}
This also gives the same class error by the way: {!!Form::open()->formInline()!!}
Using LV 5.8 on XAMPP php7+
EDIT: Figured out it needs to be ->attrs(['class' => 'dropzone'])
I've been trying all sorts of variants, none seem to work?
{!! Form::open()->url(url('/usersettings/'))->multipart()->method('post')->id('usersettings')->idPrefix('usrsettings_')->class('whatever') !!}
The above throws an error: Call to undefined method NetoJose\Bootstrap4Forms\FormService::class()
This one (or variations) just doesn't add anything: {!! Form::open(['url' => '/submitform/', 'class' => 'whatevr'] )) !!}
This also gives the same class error by the way: {!!Form::open()->formInline()!!}
Using LV 5.8 on XAMPP php7+
EDIT: Figured out it needs to be ->attrs(['class' => 'dropzone'])