mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Fix tab causing textbox placeholder to fill in (#5592)
This commit is contained in:
committed by
George Goldberg
parent
12e9eb0073
commit
09ee8e8a58
@@ -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}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user