Skip to content

Support allowsEmptyCollection prop in Select component #8701

@joestrkr

Description

@joestrkr

Provide a general summary of the feature here

I want to show a message in the listbox of a Select when there are no items (something like an IllustratedMessage) using the renderEmptyState prop of the listbox.

🤔 Expected Behavior?

It should be possible to configure the select state to allow opening the popover also for empty lists.

😯 Current Behavior

useSelectState is built so that it does not open the popover if the list is empty.

💁 Possible Solution

Select could support allowsEmptyCollection like the ComboBox.

🔦 Context

.

💻 Examples

No response

🧢 Your Company/Team

No response

🕷 Tracking Issue

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions