diff options
Diffstat (limited to 'src/module/Combobox.jsx')
-rw-r--r-- | src/module/Combobox.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/module/Combobox.jsx b/src/module/Combobox.jsx index 27a8226..1e172a7 100644 --- a/src/module/Combobox.jsx +++ b/src/module/Combobox.jsx | |||
@@ -9,7 +9,7 @@ const formatOption = (option, disabledOptions) => { | |||
9 | } | 9 | } |
10 | 10 | ||
11 | let disabled = false; | 11 | let disabled = false; |
12 | if (disabledOptions.indexOf(option) >= 0) { | 12 | if (disabledOptions && disabledOptions.indexOf(option) >= 0) { |
13 | disabled = true; | 13 | disabled = true; |
14 | } | 14 | } |
15 | 15 | ||