appendToBody - need to apply to select class=mdb-select


Topic: appendToBody - need to apply to select class=mdb-select

cdenby pro asked 5 years ago

I'm having the issue where the mdb-select doesn't sit on top of the accordion headers. This is in JQuery. It happens when I dynamically reload an accordion panel with content and initialize the mdb-select. I've read that applying appendToBody to the select would help, but I can't find any documentation on how to do that except in angular which doesn't apply to my project.

How do I apply appendToBody to select class="mdb-select"...?


Grzegorz Bujański staff commented 5 years ago

Hi. In jQuery you can't append mdb-select to boddy. Please create snippet here: https://mdbootstrap.com/snippets/ and i'll look at it.

Best, Grzegorz


cdenby pro answered 5 years ago

https://mdbootstrap.com/snippets/jquery/cdenby/1733947 The dropdown under the red warning. Is it possible to make this private and have you still see it on your end?


Grzegorz Bujański staff commented 5 years ago

I'm afraid I don't understand. What exactly do you want to do?


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: No
  • Technology: MDB jQuery
  • MDB Version: 4.12.0
  • Device: pc
  • Browser: chrome
  • OS: w10
  • Provided sample code: No
  • Provided link: No
Tags