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

Sushrut Bidwai premium asked 1 year 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.


Sushrut Bidwai premium answered 1 year 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 1 year 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.


Kamila Pieńkowska staff answered 1 year ago


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



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

  • ForumUser: Premium
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No