:http://codepen.io/Enclave88/pen/YqNpog?editors=1010Reactjsで入力中のすべてのテキストを、どのように選択するか?たとえば
var InputBox = React.createClass({
render: function() {
return (
<input className="mainInput" value='Some something'></input>
)
}
});
これは純粋な機能(なしクラス)で動作し、このソリューションのためのTHX。 –