We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ed0517 commit 3350b1fCopy full SHA for 3350b1f
components/dropdown/Dropdown.jsx
@@ -180,7 +180,7 @@ const factory = (Input) => {
180
<li
181
key={idx}
182
className={className}
183
- onClick={!item.disabled && this.handleSelect.bind(this, item[valueKey])}
+ onClick={!item.disabled ? this.handleSelect.bind(this, item[valueKey]) : undefined}
184
>
185
{this.props.template ? this.props.template(item) : item[labelKey]}
186
</li>
0 commit comments