I use http://kristijanhusak.github.io/laravel-form-builder/ and i want some extra attributes for type file
How can achieve that?
Try:
->add('image',
'file',
[
'multiple' => true,
'accept' =>"image/jpg, image/gif",
'label' => 'Upload your image'
])
result:
<input class="form-control" name="image" id="image" type="file">
I want:
<input class="form-control" name="image" id="image" type="file" accept="image/jpg, image/gif" multiple>
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire