-
Does anyone know if it's possible to show the placeholder of an input field if defaultValue is set to an empty string? Pulling userData from state as defaultValues:
Then for instance the email input looks like this:
When there is an empty string set it shows an empty field instead of the placeholder. |
Beta Was this translation helpful? Give feedback.
Answered by
jinsley8
Jul 5, 2022
Replies: 1 comment
-
Nevermind, this is correct. I had the wrong placeholder added to all of the other fields. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
jinsley8
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Nevermind, this is correct.
I had the wrong placeholder added to all of the other fields.