Make select-option-secondary-text sibling of select-option-t


Topic: Make select-option-secondary-text sibling of select-option-text rather than child

UNNdev pro premium priority asked 3 years ago

Expected behavior

The generated .select-option-secondary-text container should be a sibling of .select-option-text instead of a child. This allows for better control how the secondary text should be displayed along the primary text. It would allow creating something like badges for options for example where the badge is displayed on the right side of the option text while still being able to control the width of .select-option-text so it does not overflow into the badge.

Actual behavior

The generated .select-option-secondary-text container is a child of .select-option-text. It is therefore currently not possible to have the primary and secondary text displayed side-by-side without using absolute positioning and hard-coded widths.


Michał Duszak staff answered 3 years ago

That's a great idea! Thank you for your feedback, we will consider it.


FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Closed

Specification of the issue
  • User: Pro
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 3.8.0
  • Device: All devices
  • Browser: All browsers
  • OS: All operating systems
  • Provided sample code: No
  • Provided link: No