@codecademy/gamut
68.2.268.2.3-alpha.c8dfb9.0
dist/Form/SelectDropdown/SelectDropdown.js~
dist/Form/SelectDropdown/SelectDropdown.jsModified+1−1
Index: package/dist/Form/SelectDropdown/SelectDropdown.js
===================================================================
--- package/dist/Form/SelectDropdown/SelectDropdown.js
+++ package/dist/Form/SelectDropdown/SelectDropdown.js
@@ -197,9 +197,9 @@
},
inputWidth: inputWidth,
isDisabled: disabled,
isMulti: multiple,
- isOptionDisabled: option => option.disabled,
+ isOptionDisabled: option => option.disabled ?? false,
isSearchable: isSearchable,
menuAlignment: menuAlignment,
name: name,
options: selectOptions,