diff --git a/src/Select.js b/src/Select.js index d8b8542d20..ed2e3846a4 100644 --- a/src/Select.js +++ b/src/Select.js @@ -876,7 +876,7 @@ class Select extends React.Component { 'aria-haspopup': '' + isOpen, 'aria-label': this.props['aria-label'], 'aria-labelledby': this.props['aria-labelledby'], - 'aria-owns': ariaOwns, + ...(ariaOwns ? { 'aria-owns': ariaOwns } : {}), className: className, onBlur: this.handleInputBlur, onChange: this.handleInputChange, @@ -903,7 +903,7 @@ class Select extends React.Component {