diff --git a/src/components/views/elements/PowerSelector.js b/src/components/views/elements/PowerSelector.js index c47c9f3809..118ade8151 100644 --- a/src/components/views/elements/PowerSelector.js +++ b/src/components/views/elements/PowerSelector.js @@ -45,8 +45,10 @@ module.exports = React.createClass({ }, onSelectChange: function(event) { - this.state.custom = (event.target.value === "Custom"); - this.props.onChange(this.getValue()); + this.setState({ custom: event.target.value === "Custom" }); + if (event.target.value !== "Custom") { + this.props.onChange(this.getValue()); + } }, onCustomBlur: function(event) {