creativetimofficial / material-kit

Free and Open Source UI Kit for Bootstrap 5, React, Vue.js, React Native and Sketch based on Google's Material Design
https://www.creative-tim.com/product/material-kit?ref=mk-creativetimofficial-github
MIT License
5.91k stars 1.37k forks source link

File upload not sending file data #153

Open AppyCat opened 5 years ago

AppyCat commented 5 years ago

Hi, I purchased Material Kit Pro for Bootstrap 4.

When I try to use the file upload component, it reads the file but is not passing the path to the file.

As a result on the receiving end the file shows up as nil in the db. When I select the file, the name of the file shows up. On upload file is not being sent, the name of file is sent as a param, but not the file data.

I'm using Ruby on Rails, it usually creates a tmp version of the file and then resizes. However in this case it is not receiving the file at all on upload. I am using the file upload listed on the forms section, not the Jasny file uploader.

Here's my code: form.txt

Its sending file name, but not file data.

I am using Material Kit PRO - v2.1.1

groovemen commented 4 years ago

Hello @AppyCat,

Thank you for using our products, please let us know if upload a component works by using the Jasny plugin. Looking ahead to your answer.

Best, Stefan