#10454·react-admin

Add emptyText property to SelectArrayInput

Author: MichaelTammCreated Jan 20, 2025Updated Aug 31, 2026
Labelsenhancementgood first issue

It would be nice to allow to specify what should be rendered inside a SelectArrayInput when no choice is selected. This feature is already present in the SelectInput.

For example:

const channelChoices = [
    {id: "email", name: "Email"},
    {id: "push", name: "Push Notification"},
];
<SelectArrayInput source="channels" choices={channelChoices} emptyText={<i>All Channels</i>} />