commit
25a33a3803
1 changed files with 7 additions and 1 deletions
|
@ -107,7 +107,13 @@ function ComboMultipleDropdownList({
|
||||||
);
|
);
|
||||||
const selectedValue = maybeValue && maybeValue[1];
|
const selectedValue = maybeValue && maybeValue[1];
|
||||||
if (value) {
|
if (value) {
|
||||||
setNewValues([...newValues, selectedValue]);
|
if (
|
||||||
|
acceptNewValues &&
|
||||||
|
extraOptions[0] &&
|
||||||
|
extraOptions[0][0] == selectedValue
|
||||||
|
) {
|
||||||
|
setNewValues([...newValues, selectedValue]);
|
||||||
|
}
|
||||||
saveSelection([...selections, selectedValue]);
|
saveSelection([...selections, selectedValue]);
|
||||||
}
|
}
|
||||||
setTerm('');
|
setTerm('');
|
||||||
|
|
Loading…
Reference in a new issue