Topic: [Request] MDBSelect: HtmlTemplate for selected Item

malte premium asked 3 weeks ago


When implementing the mdbselect component my options are only icons <i class="fa fas fa-some-icon"></i>.

The html code will not display at the selected item causing it to appear empty since there is also no text in the mdb-option element.

Is or will there be any way to allow icon in the selected item in future?

Best,

Malte


Arkadiusz Idzikowski staff commented 3 weeks ago

I'm not sure if I understand the question correctly. Do you want to customize the content displayed in the select 'input' after option selection (in the place where the label is displayed when the option is not selected and the component is not active)?


malte premium commented 3 weeks ago

Yes - correct like in other libs via template for example


Arkadiusz Idzikowski staff commented 3 weeks ago

Currently, this isn't possible, and we have no plans to implement such a feature. However, we will discuss it with our team and add it to the list of ideas. Perhaps such a feature will be implemented in the future, especially if there are more requests.



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: Premium
  • Premium support: Yes
  • Technology: MDB Angular
  • MDB Version: MDB5 8.0.0
  • Device: PC
  • Browser: Chrome / Edge
  • OS: Windows
  • Provided sample code: Yes
  • Provided link: No