Skip to content

Commit

Permalink
Added key prop to text input
Browse files Browse the repository at this point in the history
  • Loading branch information
kyleschechter authored and thestephenmarshall committed Jan 27, 2022
1 parent 9c61fb2 commit 39d7c75
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ const TextInput = (props: TextInputProps, ref: React.ElementRef<"input">) => {
className="text_input"
disabled={disabled}
id={id}
key={`${id}_${className}`}
name={name}
onChange={onChange}
placeholder={placeholder}
Expand Down

0 comments on commit 39d7c75

Please # to comment.