Open hasanhasanov opened 9 months ago
When the search property is set to false getting 'TypeError: iterator method is not callable' error
TSX
<SelectDropdown search={false} ...
Error
TypeError: iterator method is not callable
NOT: There is no problem if the search property is never used or set to true
I solved the above error as follows. But it still better be fixed.
search={dropdown.isSearchable ? true : undefined}
It works if undefined is given instead of false
When the search property is set to false getting 'TypeError: iterator method is not callable' error
TSX
<SelectDropdown search={false} ...
Error
NOT: There is no problem if the search property is never used or set to true