fix(multiselectcheckbox): minor fix
This commit is contained in:
committed by
GitHub
parent
33c1d4b034
commit
d18bfe6ad2
@ -29,7 +29,7 @@ const MultiCheckbox = ({ options, onChange }) => {
|
||||
data[key].checked = !item.checked;
|
||||
}
|
||||
});
|
||||
updateOptions(data);
|
||||
updateOptions([...data]);
|
||||
onChange(data);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user