Using range and material_select together


Topic: Using range and material_select together

O1ivier pro premium priority asked 7 years ago

Hello, I encounter an issue when I try to use range input and material_select in the same page. I can see in the exemple on your site that an error occurs in console because of range inputs : "Uncaught TypeError: Cannot read property 'createDocumentFragment' of undefined" You can see it in right there : https://mdbootstrap.com/components/inputs/ I've got the same problem as I told you right before and I can't use material_select because of this. Is there a way to use both select and range input at the same time. Sorry if my english is not perfect. Thanks for your reply.

Mikołaj Smoleński staff answered 7 years ago

Hello, There is a way to use both select and range input. For this moment please comment the following code line: $(range_type).each(add_thumb); We’ll fix it with the next release. Regards

O1ivier pro premium priority commented 7 years ago

Hello, I just did the modification and it works fine. Thanks a lot. Regards

rtomsmith pro answered 7 years ago

I tried commenting out my "material_select" call so I could use range sliders. I get JS errors. I tried commenting out the "$(range_type).each(add_thumb);", but that just deferred JS errors until trying to move a slider. Is this the same and/or known issue?  

Mikołaj Smoleński staff answered 7 years ago

It's the same issue. With the next release the problem will be fixed. Regards
Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Answered

Specification of the issue
  • User: Pro
  • Premium support: Yes
  • Technology: MDB jQuery
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No