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

[Feature]: Support setFieldValue on useFormContext #354

Open
cjoecker opened this issue Mar 27, 2024 · 0 comments
Open

[Feature]: Support setFieldValue on useFormContext #354

cjoecker opened this issue Mar 27, 2024 · 0 comments

Comments

@cjoecker
Copy link

cjoecker commented Mar 27, 2024

What is the new or updated feature that you are suggesting?

I would like to have a setFieldValue(fieldName:string) in the useFormContext hook.

Right now, I only have useControlField to set a field value programmatically.

Why should this feature be included?

I'm doing an API call on the client and want to set many field values programmatically. I don't see an option to replace many field values at once.

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