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

improve reset options #6720

Merged
merged 6 commits into from
Oct 6, 2021
Merged

improve reset options #6720

merged 6 commits into from
Oct 6, 2021

Conversation

bluebill1049
Copy link
Member

@bluebill1049 bluebill1049 commented Oct 5, 2021

close #6721

reset(values, { keepDefault: true })

only update values and keep all the defaultValues

@github-actions
Copy link
Contributor

github-actions bot commented Oct 5, 2021

Size Change: +65 B (0%)

Total Size: 30.5 kB

Filename Size Change
dist/index.cjs.js 8.44 kB +25 B (0%)
dist/index.esm.js 13.6 kB +30 B (0%)
dist/index.umd.js 8.52 kB +10 B (0%)

compressed-size-action

@bluebill1049 bluebill1049 marked this pull request as draft October 5, 2021 12:47
@bluebill1049 bluebill1049 marked this pull request as ready for review October 6, 2021 07:59
@bluebill1049 bluebill1049 merged commit 08b0602 into master Oct 6, 2021
@bluebill1049 bluebill1049 deleted the improve-reset-1 branch October 6, 2021 08:06
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.

Calling reset with values and keepDefaultValues should update input values
1 participant