Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: material-select.js not destroying properly before re-rendering

Legay free asked 5 years ago


Expected behavior

MaterialSelect class constructor expects the options parameter to be an object. Destroying it should be done by calling materialSelect({destroy: true})

Actual behavior

Inside material-select.js, there are multiple calls to materialSelect('destroy'), which doesn't actually dispose the component. It should be materialSelect({destroy: true});

Resources (screenshots, code snippets etc.)

See material-select.js, lines 365 and 836.


Piotr Glejzer staff commented 5 years ago

Thanks, we will fix this as soon as possible.



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Opened

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.7.7
  • Device: laptop
  • Browser: Chrome
  • OS: Win 10
  • Provided sample code: No
  • Provided link: No