Use ID of an element when creating IDs for wrappers and othe


Topic: Use ID of an element when creating IDs for wrappers and other elements

Sushrut Bidwai pro premium asked 2 years ago

In the current implementation, when an element such as select is used, mdb generates a number of elements to support various features. While doing that, it generates number of element IDs with a prefix, for example select-container- and so on.

My feature request would be - if the select element has an ID given by the developer, then re-use that to generate these element IDs. For example, if I have a select element with ID=locationSelector, then generate required elements like select-container-locationSelector and so on.

This will enable me as a developer to use those IDs in css element selectors and modify specific attributes if I need to without affecting any other select elements on the pages.


kpienkowska staff answered 2 years ago

Thank you for the idea we will discuss this with our team.


Sushrut Bidwai pro premium answered 2 years ago

Any update on this feature request? It will be great if this is implement soon as it will make it much easier to use mdb.


Grzegorz Bujański staff commented 2 years ago

Unfortunately, at the moment, we are unable to say when this feature will be added. Currently, our focus is on improving the quality of our package, so most of our time is devoted to fixing bugs rather than adding new options.


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: Yes
  • Technology: MDB Standard
  • MDB Version: -
  • Device:
  • Browser:
  • OS:
  • Provided sample code: No
  • Provided link: No