TextField onFocus and onBlur handler events are undefined in alpha16.
It's working fine on my end, I believe you are on alpha15. I'm closing.
I checked and I'm on alpha16. React 15.5.4
Oh, could you provide a reproduction example? Thanks.
Sure
constructor(props) {
super(props)
this.test = this.test.bind(this)
}
test(event) {
console.log(event)
}
render() {
return (
<form>
<TextField onBlur={this.test} />
<input type="text" onBlur={this.test} />
</form>
)
}
The React input works as expected but TextField test() event is undefined.
By the way TextField onChange works as expected.
This seems to be fixed already in "@material-ui/core": "^1.5.1",
Most helpful comment
This seems to be fixed already in
"@material-ui/core": "^1.5.1",