add not selected option
This commit is contained in:
parent
cdf2622969
commit
472dc2f343
@ -13,6 +13,7 @@ const Select = ({ value, setCurrentValue, status, options, ...props }) => {
|
||||
value={value}
|
||||
onChange={val => setCurrentValue(val)}
|
||||
>
|
||||
<AntSelect.Option value={null}>Не выбрано</AntSelect.Option>
|
||||
{options.map((option, i) => {
|
||||
if (option)
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user