You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I came here to create an issue for the same code, but we already have one. I know the example is kind of pseudo-code (we are not controlling the input, there is no submit button, etc.), but even with this, it should be error-free, I guess. There is one more mistake apart from state.error, which is
Thanks for the report and discussion! The current example renders error directly, updates the error state, and clears the name only when there is no error. Closing this as resolved.
Activity
ijayhub commentedon May 27, 2024
hello,
is it valid?
patelvivekdev commentedon May 27, 2024
devserkan commentedon Jun 17, 2024
I came here to create an issue for the same code, but we already have one. I know the example is kind of pseudo-code (we are not controlling the input, there is no submit button, etc.), but even with this, it should be error-free, I guess. There is one more mistake apart from
state.error, which isit should be
aurorascharff commentedon Nov 7, 2026
Thanks for the report and discussion! The current example renders
errordirectly, updates the error state, and clears the name only when there is no error. Closing this as resolved.