MultiSelect: do not show empty results on free form inputs
This commit is contained in:
parent
e0d8d096f2
commit
3313ea5885
1 changed files with 1 additions and 1 deletions
|
@ -165,7 +165,7 @@ function ComboMultipleDropdownList({
|
|||
autocomplete={false}
|
||||
/>
|
||||
</ComboboxTokenLabel>
|
||||
{results && (
|
||||
{results && (results.length > 0 || !acceptNewValues) && (
|
||||
<ComboboxPopover className="shadow-popup">
|
||||
{results.length === 0 && (
|
||||
<p>
|
||||
|
|
Loading…
Reference in a new issue