🐛 fix(inputListComponent): fix type error when value is a string by converting it to an array
This commit is contained in:
parent
4d0771c9c8
commit
3b1872dd4c
1 changed files with 2 additions and 0 deletions
|
|
@ -18,6 +18,8 @@ export default function InputListComponent({
|
|||
}
|
||||
}, [disabled]);
|
||||
|
||||
typeof value === 'string' ? value = [value] : value = value;
|
||||
|
||||
return (
|
||||
<div
|
||||
className={classNames(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue