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

feat: form and fields values setters #2949

Merged
merged 2 commits into from
Oct 10, 2020
Merged

feat: form and fields values setters #2949

merged 2 commits into from
Oct 10, 2020

Conversation

logaretm
Copy link
Owner

🔎 Overview

Currently there is no way to update fields values without using useField or v-model, the initial values don't cut it as they only modify the pristine fields.

This PR adds:

  • setFieldValue: updates a single field's value
  • setValues: updates the specified fields' values

@logaretm logaretm merged commit cc2cb41 into next Oct 10, 2020
@logaretm logaretm deleted the feat/form-value-setters branch October 10, 2020 02:38
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

Successfully merging this pull request may close these issues.

1 participant