Open giladartzi opened 8 years ago
…o this.state.text
The scenario is like so:
this.props.text
this.props.value
undefined
sinkLabel
In my opinion, text value should be read from the state and not the props.
text
state
props
Please let me know what you think :-)
…o this.state.text
The scenario is like so:
this.props.text
tothis.props.value
.this.props.text
isundefined
and does not equalthis.props.value
which is an empty stringsinkLabel
function is called, but TextField is still focused. (This is the issue)In my opinion,
text
value should be read from thestate
and not theprops
.Please let me know what you think :-)