Topic: Material Select open on initialization

cdenby pro asked 2 years ago


Expected behavior I would like to have the option to do something like:

$(".mdb-select").materialSelect({open: true});

I think you get the idea - When done initialization, I want it to be open.

Actual behavior I haven't seen any documentation of this being possible. I was looking for an event that I could leverage to click on the input.select-dropdown, but I don't see the equivalent of on-shown or anything like that.


Tomek Makowski staff commented 2 years ago

Hi

Try out this solution

https://mdbootstrap.com/snippets/jquery/tomasz-makowski/2546883#js-tab-view

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

Opened

Specification of the issue

  • User: Pro
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.17.0
  • Device: PC
  • Browser: Chrome
  • OS: W10
  • Provided sample code: No
  • Provided link: No