Skip to content

Commit

Permalink
Del key should work normal if not deleteRemoves
Browse files Browse the repository at this point in the history
  • Loading branch information
jnachtigall committed Jan 12, 2018
1 parent 851d94b commit dcf5094
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Select.js
Original file line number Diff line number Diff line change
Expand Up @@ -546,8 +546,8 @@ class Select extends React.Component {
this.focusStartOption();
break;
case 46: // delete
event.preventDefault();
if (!this.state.inputValue && this.props.deleteRemoves) {
event.preventDefault();
this.popValue();
}
break;
Expand Down

0 comments on commit dcf5094

Please sign in to comment.