Topic: how to refresh Material Select after selecting value by jquery

sansoft free asked 4 years ago


How to refresh value after setting value by jquery https://mdbootstrap.com/docs/jquery/forms/select/#searchable-with-label


MDBootstrap staff commented 4 years ago

Hi, sansoft If you want to refresh render of material select use attribute destroy: true in 2nd initialization. If you want to simply pick the option with jQuery from the select simple .val(value) method will put the value inside of the select.

If you need additional help We are here for you.

Best Regards, Piotr


sansoft free answered 4 years ago


Not working, Check console in below screenshot. I m using select #searchable-with-label

enter image description here


MDBootstrap staff commented 4 years ago

Hi sansoft, On Monday we plan to ship the improved version of a material selected. I think that these improvements will help you in your development process.

Best Regards, Piotr



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.8.10
  • Device: Laptop
  • Browser: Mozilla
  • OS: Windows
  • Provided sample code: No
  • Provided link: Yes