From 09ee8e8a58df9526c619ac80cd76bca8cf4ca107 Mon Sep 17 00:00:00 2001
From: Joram Wilander <jwawilander@gmail.com>
Date: Fri, 3 Mar 2017 11:54:28 -0500
Subject: Fix tab causing textbox placeholder to fill in (#5592)

---
 webapp/components/autosize_textarea.jsx | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

(limited to 'webapp/components/autosize_textarea.jsx')

diff --git a/webapp/components/autosize_textarea.jsx b/webapp/components/autosize_textarea.jsx
index dc62dbe7e..a55a27aef 100644
--- a/webapp/components/autosize_textarea.jsx
+++ b/webapp/components/autosize_textarea.jsx
@@ -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}
                     />
-- 
cgit v1.2.3-1-g7c22

