BerkeleyTrue / react-material

Material design components written with React.js and React Style
http://berkeleytrue.github.io/react-material
404 stars 38 forks source link

Make TextField value handling match React.DOM.input value handling #73

Closed robertknight closed 9 years ago

robertknight commented 9 years ago

Make the way TextField handles setting its value match the way React.DOM.input and other form controls work.

If props.value is supplied, then the component is a 'controlled' component and its value always matches props.value, otherwise it is an uncontrolled component whose initial value is props.defaultValue.

SanderSpies commented 9 years ago

Thanks for this improvement.