🐛 fix(inputListComponent): fix type error when value is a string by converting it to an array

This commit is contained in:
Cristhian Zanforlin Lousa 2023-08-28 13:31:50 -03:00
commit 3b1872dd4c

View file

@ -18,6 +18,8 @@ export default function InputListComponent({
}
}, [disabled]);
typeof value === 'string' ? value = [value] : value = value;
return (
<div
className={classNames(