const { onChange = () => { return; } } = this.props;
const [, fraction] = event.target.value.split('.');
this.setState({ endsWithDecimalSeparator: fraction === '' });
const { onChange = () => { return; } } = this.props;
const [, fraction] = event.target.value.split('.');
this.setState({ endsWithDecimalSeparator: fraction === '' });
onChange: this.handleChange,
};
return <Input {...props} />;
onChange: this.handleChange,
};
return <Input {...props} />;