Phermsawang asked 3 years ago

I'd used File input in my form . it's show error alway. I can not find the answer in support page. Many people have the same as my issue. The problem came from your mdb.js

Because i plan to buy File input plugin but can not use file input now. So please Fix it as fast as you can.

--Error---- mdb.js:17794 Uncaught TypeError: files.forEach is not a function at HTMLInputElement. (mdb.js:17794) at HTMLDocument.dispatch (jquery-3.4.1.min.js:2) at HTMLDocument.v.handle (jquery-3.4.1.min.js:2) (anonymous) @ mdb.js:17794 dispatch @ jquery-3.4.1.min.js:2 v.handle @ jquery-3.4.1.min.js:2

MDBootstrap staff pro premium answered 3 years ago

Hi Phermsawang,

Thank you for the information. I forwarded the information to the team. We will try to deal with this problem as soon as possible. However, I must ask if you have done everything according to the instructions on our website?

Please check if your implementation is flawless because as you can see our examples on site work fine.

Best Regards, Piotr

Phermsawang commented 3 years ago

I'd already read and tried everything in that instruction. I'm very sure problem cam from your mdb.js at line number 17794. please fix it.

MDBootstrap staff pro premium commented 3 years ago

No worries, we are on it. I added this issue to our task list. We will do our best to make it work asap.

Did you change something in our package? I checked the code in mdb.js and this line is plain. File input code with function forEach is located in 17934 line.

Please insert min. 20 characters.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.



Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.8.2
  • Device: Desktop
  • Browser: Chorme
  • OS: MAC
  • Provided sample code: No
  • Provided link: No