@ -36,7 +36,7 @@ export default function Options({optionList}: OptionsInterface) {
...ol
}
if (selectedOption) {
temp[selectedOption.name] = '';
temp[selectedOption.name] = selectedOption.acceptValue ? '' : null;
setOptionList(temp)