Skip to content

Commit

Permalink
fix(text-input): use placeholder text as title attribute (#5622)
Browse files Browse the repository at this point in the history
  • Loading branch information
tw15egan authored Mar 14, 2020
1 parent 9e7b37e commit 9e34748
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/react/src/components/TextInput/TextInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ const TextInput = React.forwardRef(function TextInput(
type,
ref,
className: textInputClasses,
title: placeholder,
...other,
};
const labelClasses = classNames(`${prefix}--label`, {
Expand Down

0 comments on commit 9e34748

Please sign in to comment.