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

[SUGGESTION] Allow components to accept a Fields generic for name auto-completion #83

Open
TClark1011 opened this issue Oct 26, 2021 · 0 comments

Comments

@TClark1011
Copy link

Allow the control components to accept a Fields type argument, similarly to the how the Formik component does in base Formik. The Fields generic would be a Record that would contain the all the valid fields and corresponding data types. This could then provide auto-completion for the name prop since every field would need to have a name that is a key of Fields.

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

1 participant