Skip to content

Conversation

@craigmhughes
Copy link

Summary

This PR introduces a new displayValue property for MultiSelectOption.

displayValue allows displaying a custom ReactNode or string in the dropdown, enabling richer labels such as combining the department name with the employee name.

Motivation

Previously, the MultiSelect displayed only the plain label.

Many use cases require additional context, e.g., showing “Employee Name (Department)” instead of just “Employee Name”.
Using ReactNode allows for rich formatting, colors, or additional elements inline with the label.

Screenshot(s)

Screenshot 2025-10-30 at 11 29 07

@vercel
Copy link

vercel bot commented Oct 30, 2025

Someone is attempting to deploy a commit to the sersavan's projects Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant