From b0494ea082e929c3753131a62530916c9c491311 Mon Sep 17 00:00:00 2001 From: TJ Egan Date: Fri, 13 Mar 2020 18:19:53 -0700 Subject: [PATCH] fix(text-input): use placeholder text as title attribute (#5622) --- packages/react/src/components/TextInput/TextInput.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/react/src/components/TextInput/TextInput.js b/packages/react/src/components/TextInput/TextInput.js index 0dfea7ee2b0d..0f4f8220cda6 100644 --- a/packages/react/src/components/TextInput/TextInput.js +++ b/packages/react/src/components/TextInput/TextInput.js @@ -56,6 +56,7 @@ const TextInput = React.forwardRef(function TextInput( type, ref, className: textInputClasses, + title: placeholder, ...other, }; const labelClasses = classNames(`${prefix}--label`, {