Skip to content
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

fieldExists is missing #460

Open
georgmzimmer opened this issue Jul 26, 2023 · 3 comments
Open

fieldExists is missing #460

georgmzimmer opened this issue Jul 26, 2023 · 3 comments

Comments

@georgmzimmer
Copy link

Describe the bug
According to the documentation, fieldExists should be a function of the formApi that returns true if the field exists. This function used to be part of the formApi, but now the function is missing! I need that function, or some way to do the same thing.

To Reproduce

go here, and click the button labeled "Demonstrate that fieldExists() is missing!"

https://codesandbox.io/s/damp-cache-mkm6dc?file=/src/App.js

@samr874
Copy link

samr874 commented Mar 11, 2024

@georgmzimmer what is the status of this code please tell could you please guide me where does this file lies please??

@joepuzzo
Copy link
Collaborator

hmm May have depricated that and forgot to update docs. I will need to look into this one.

@samelas
Copy link

samelas commented Dec 10, 2024

Any updates on this? I see fieldExists still defined in the type but missing an implementation. Is there some other way to find if the field exists? I haven't been able to find one when looking at getFieldState or FormState values

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants