creativetimofficial / ct-material-dashboard-pro-laravel

Material Pro Dashboard For Laravel Framework 11.x and Up
https://www.creative-tim.com/live/material-dashboard-pro-laravel
19 stars 6 forks source link

File Input Doesn't Work #33

Closed armand0sosa closed 3 years ago

armand0sosa commented 3 years ago

The file input doesn't work even on you page:

<div class="form-group form-file-upload form-file-multiple">
    <input type="file" multiple="" class="inputFileHidden">
    <div class="input-group">
        <input type="text" class="form-control inputFileVisible" placeholder="Single File">
        <span class="input-group-btn">
            <button type="button" class="btn btn-fab btn-round btn-primary">
                <i class="material-icons">attach_file</i>
            </button>
        </span>
    </div>
  </div>

Your page URL: https://material-dashboard-pro-laravel.creative-tim.com/docs/components/forms.html

teamupdivision commented 3 years ago

Hello @armand0sosa,

Thanks for using our products.

If what you are saying is that section has no backend functionality, that is true, First of all those are the docs and they're just code samples.

Real workign examples can be found in the Laravel examples in the product demo, please go to this link: https://material-dashboard-pro-laravel.creative-tim.com/ - submit the login form - and then go to https://material-dashboard-pro-laravel.creative-tim.com/item - where you can manabe a working form example of a file input upload.

If you have any more questions, feel free to reopen this issue or create another one.

All the best

armand0sosa commented 3 years ago

In the free version this works but in the pro version it doesn't work.

I need to use it, how can I made this work? And I don't mean the backend, I mean the simple act of clicking on it and selecting the file.

Free Version URL (Working): https://material-dashboard-laravel.creative-tim.com/docs/components/forms.html

Pro Version URL (Not Working): https://material-dashboard-pro-laravel.creative-tim.com/docs/components/forms.html

teamupdivision commented 3 years ago

Hello, thanks for using our product! We'll follow up with a solution tomorrow. All the best

teamupdivision commented 3 years ago

Hello, We've commited a solution to the problem you posted. Please download the product again from the download section.

Feel free to follow up if any other issues arise.

All the best

armand0sosa commented 3 years ago

Thank you, I already downloaded it and it still doesn't work, I thought it was a cache problem, but it isn't.

I also just checked the documentation page and it does work there, but it has an error, it opens the window to select the file twice.

teamupdivision commented 3 years ago

Hello,

Please check again now. You can also check the docs page.

Thank you

armand0sosa commented 3 years ago

Thank you, now it works.

But is there any way to update without having to redownload the entire file and start a new project? Because I already have a slightly advanced project with the template and I should re-create my models, views and controllers again.

teamupdivision commented 3 years ago

Hello, see in the images attached the two files that were updated and the exact code lines you need to copy from the archive. image image

armand0sosa commented 3 years ago

Thank you so much!