-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add isValidating by field #5744
Comments
thanks for the feature request. I would recommend using:
i will still ping this feature on our feature board for sometimes, see if other users have similar requests. |
This is a feature that I definitely would like to see in RHF soon. 👍🏽 |
thanks, @davbrito thinking about this, would it be easier to host a local state (i guess if you are using |
There is a similar use case in my project . @bluebill1049 . Can you show me a example how to do it using useController and state. |
@konarssuresh did you manage to solve this? I'm also looking for a way to display the validation status per field. |
I would also love this feature. |
Was this feature added? I see a couple bugs that are asking for this that have been closed, but I don't see how this can be accomplished. EDIT: |
this is good feature if we are dealing with multiple asynchronous form , either way it might cause pending ui to appear on another input , it would be great if you add this feature |
Another vote for this feature! Thanks a lot, really like this library! |
Is your feature request related to a problem? Please describe.
I implement a spinner when the field is validating. I use
isValidating
fromformState
and this will trigger loading for every fields.Describe the solution you'd like
We need
isValidating
fromfieldState
the same asisDirty
, it could be trigger by field, and we should haveisValidatingFields
in case of we don't useController
.Describe alternatives you've considered
At the moment, I have to use
trigger
and implementisValidatingFields
using React State. When I manually trigger the validation, I willsetState
the field.Additional context
This is my UI screenshot when doing this feature.
The text was updated successfully, but these errors were encountered: