Topic: Multiselect with search box issue on Firefox

Gautam Chaudhary priority asked 4 years ago


Search is not working in 'multiselect with search box' on firefox (ver 57.0.1)
Screenshot: https://screenshots.firefox.com/NbUnDYWk85UuB28U/mdbootstrap.com


Mikołaj Smoleński staff answered 4 years ago


Hi, Please change code lines in mdb.js (starting from 19040) from:
  if (typeof this.outerText === 'string') {
 var liValue = this.outerText.toLowerCase();
to:
  if (typeof this.outerHTML === 'string') {
 var liValue = this.outerHTML.toLowerCase();
We'll fix it with the next release Regards

Gautam Chaudhary priority commented 4 years ago

This fix is returning the complete span instead of the value Right fix is: if (typeof(this.outerHTML) == 'string') { var liValue = this.textContent.toLowerCase();


Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Resolved

Specification of the issue

  • User: Priority
  • Premium support: Yes
  • Technology: MDB jQuery
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: Yes
Tags