This repository has been archived by the owner on Apr 10, 2023. It is now read-only.
-
There are two different components used for the e-mail and password fields. One is a textfield and the other one is a form control. Should I use a textfield for the password too since it is easier to change the props and to edit it in general? |
Beta Was this translation helpful? Give feedback.
Answered by
knjk04
Mar 8, 2021
Replies: 1 comment
-
The reason for using different components is we want a visibility toggle button on the password fields. I don't think we can get that using |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
hsergiu
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The reason for using different components is we want a visibility toggle button on the password fields. I don't think we can get that using
TextField
s alone. I think it's best to leave the password field as anOutlinedInput
for now