fix(combobox): don’t output undefined className
This commit is contained in:
parent
fb07a0ca54
commit
3e9a51d9b8
1 changed files with 1 additions and 1 deletions
|
@ -179,7 +179,7 @@ export function MultiComboBox(maybeProps: MultiComboBoxProps) {
|
|||
const formResetRef = useOnFormReset(onReset);
|
||||
|
||||
return (
|
||||
<div className={`fr-ds-combobox__multiple ${className}`}>
|
||||
<div className={`fr-ds-combobox__multiple ${className ? className : ''}`}>
|
||||
{selectedItems.length > 0 ? (
|
||||
<TagGroup onRemove={onRemove} aria-label={props['aria-label']}>
|
||||
<TagList items={selectedItems} className="fr-tag-list">
|
||||
|
|
Loading…
Reference in a new issue