I get error cannot read property name of null when I try to log the name of target element.
handle_text_input_change = (event) => {
this.props.onChange(event);
this.setState({text_input_value: event.target.value}, () =>
{this.validate(event)});
};
validate = (event) => {
let name = event.target.name;
console.log("target name", name);
}