Skip to content

Calling setFieldValue puts the Value Overlaying the Label #3503

Answered by allidoisace
allidoisace asked this question in Q&A
Discussion options

You must be logged in to vote

The only way to resolve (something to do with MUI and the possibility of the field being null or undefined) is to add the following in the Field component:

{formikProps.values.age || ""}

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by allidoisace
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant