Javascript error running demo in VS 2017 using IE 11


Topic: Javascript error running demo in VS 2017 using IE 11

tod pro asked 2 years ago

Expected behavior Using downloaded mdb 4.8.0 and opening index.hml via VS 2017, using IE 11 should open correctly

Actual behavior Produces and error, but only in IE11. All other tested browsers (Chrome, Edge, FireFox) are ok.

Resources (screenshots, code snippets etc.) JavaScript critical error at line 1, column 246541 in http://localhost:62488/js/mdb.min.js\n\nSCRIPT1002: Syntax error


TomekMakowski staff answered 2 years ago

Sorry but unfortunately i cannot recognize your problem. It might have been problem with your IE not MDB. Try update IE or redownload MDB.


root-nine answered 2 years ago

I´m facing the same problem with 4.8.1 and IE11. It´s the rest parameter syntax (three dots) in material-select [...this.options.fasClasses] (mdb.js line 18238 to 18240)

Could you please handle that in an IE11 compatible way. Thx


Mikołaj Smoleński staff answered 2 years ago

Hi there,

Thanks for reporting that issue. The rest parameter is not supported in IE11, so we'll discuss the possible fixes as soon as possible.

Best regards


root-nine commented 2 years ago

Thanks for your answer


Please insert min. 20 characters.
Status

Answered

Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: jQuery
  • MDB Version: 4.8.0
  • Device: Desktop
  • Browser: IE 11
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: Yes