He argued that the correct way is to control the component in the script, such as the accepted answer, but you can also control the value in this rude and culturally unacceptable way.
<TextField ref='name'/> this.refs.name.getInputNode().value = 'some value, hooray'
and you can of course get that value
this.refs.name.getValue()
James source share