diff --git a/CHANGELOG.md b/CHANGELOG.md index ccd39fdf..93a33fd8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -40,6 +40,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p - `onItemClick` handler is only executed when the breadcrumb has no own `onClick` handler defined - `` - `elevation` allows now `-1` as value, the card is borderless then +- `` + - use "Search for item, or enter term to create new one..." as default `placeholder` if `createNewItemFromQuery` is given ### Deprecated diff --git a/src/components/MultiSelect/MultiSelect.tsx b/src/components/MultiSelect/MultiSelect.tsx index b09ac7f3..f389c1cb 100644 --- a/src/components/MultiSelect/MultiSelect.tsx +++ b/src/components/MultiSelect/MultiSelect.tsx @@ -460,6 +460,11 @@ export function MultiSelect({ const contentMultiSelect = ( + placeholder={ + !otherMultiSelectProps.placeholder && createNewItemFromQuery + ? "Search for item, or enter term to create new one..." + : undefined + } {...otherMultiSelectProps} query={requestState.current.query} onQueryChange={onQueryChange}