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 and Alessandra Davila committed Mar 18, 2020
1 parent 6bc7f8b commit b0494ea
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 b0494ea

Please sign in to comment.