in src/components/NetmaskDropdown.js [65:90]
render() {
if (this.props.value === '' || this.props.value === null) {
return (
<Input
type="select"
name="select"
id="exampleSelect"
onChange={this.handleChange}
>
{this.createOptions()}
</Input>
);
} else {
return (
<Input
type="select"
name="select"
id="exampleSelect"
onChange={this.handleChange}
value={this.props.value}
>
{this.createOptions()}
</Input>
);
}
}