From c239c1c781ee9b1d08b40ffe7cebaedfa1c77e22 Mon Sep 17 00:00:00 2001 From: DAK <40970507+dakahn@users.noreply.github.com> Date: Wed, 23 Sep 2020 12:48:54 -0500 Subject: [PATCH] fix(TextArea): add aria-live and aria-placeholder (#6819) Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> --- packages/react/src/components/TextArea/TextArea.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/react/src/components/TextArea/TextArea.js b/packages/react/src/components/TextArea/TextArea.js index 1c135aa9225a..d8dff5e7d978 100644 --- a/packages/react/src/components/TextArea/TextArea.js +++ b/packages/react/src/components/TextArea/TextArea.js @@ -25,6 +25,7 @@ const TextArea = React.forwardRef(function TextArea( invalidText, helperText, light, + placeholder, ...other }, ref @@ -66,7 +67,7 @@ const TextArea = React.forwardRef(function TextArea( const errorId = id + '-error-msg'; const error = invalid ? ( -
+ ) : null; @@ -80,6 +81,8 @@ const TextArea = React.forwardRef(function TextArea(