Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File input request #5

Closed
izdrail opened this issue Mar 4, 2019 · 2 comments
Closed

File input request #5

izdrail opened this issue Mar 4, 2019 · 2 comments

Comments

@izdrail
Copy link
Contributor

izdrail commented Mar 4, 2019

It would be great to have

@tomjamon
Copy link
Owner

tomjamon commented Mar 4, 2019

Hi @lzomedia , you can do it both of these ways

With the control call, generating for you a label and parent block

{!! Form::control('file', 'thumbnail', $errors, [
    'label' => 'Your thumbnail',
]) !!}

Or just the input

{!! Form::file('thumbnail')  !!}

And don't forget the 'files' => true in the Form::model() or Form::open()

You can use every call of the default LaravelCollective Html&Form package, doc available here : https://laravelcollective.com/docs/master/html#file-input

@JGamboa
Copy link

JGamboa commented Jun 5, 2020

@Tidj i made a pull request

@tomjamon tomjamon closed this as completed Jun 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants