Fix tab causing textbox placeholder to fill in (#5592)

This commit is contained in:
Joram Wilander
2017-03-03 11:54:28 -05:00
committed by George Goldberg
parent 12e9eb0073
commit 09ee8e8a58

View File

@@ -84,7 +84,9 @@ export default class AutosizeTextarea extends React.Component {
<textarea
ref='reference'
style={{height: 'auto', width: '100%'}}
value={value || placeholder}
disabled={true}
value={value}
placeholder={placeholder}
rows='1'
{...otherProps}
/>