Open Haves1001 opened 5 years ago
No error is thrown.
mdb.js:15919 Uncaught ReferenceError: bsCustomFileInput is not defined at HTMLDocument.eval (mdb.js:15919)
mdbootstrap 4.8.2 included via npm and webpack.
Very similar to https://mdbootstrap.com/support/jquery/bscustomfileinput-is-not-defined/
I temporary fixed it by doing
window.bsCustomFileInput = require('mdbootstrap/js/modules/bs-custom-file-input'); //before loading mdb js require('mdbootstrap/js/mdb');
Also duplicates #236
Expected behavior
No error is thrown.
Actual behavior
mdb.js:15919 Uncaught ReferenceError: bsCustomFileInput is not defined at HTMLDocument.eval (mdb.js:15919)
Your working environment and MDB version information
mdbootstrap 4.8.2 included via npm and webpack.