Skip to content

feat(#4117): add resetField on Form/useForm - #4120

Merged
logaretm merged 1 commit into
mainfrom
feat/4117-reset-field-fn
Feb 5, 2023
Merged

feat(#4117): add resetField on Form/useForm #4120
logaretm merged 1 commit into
mainfrom
feat/4117-reset-field-fn

Conversation

@logaretm

@logaretm logaretm commented Feb 5, 2023

Copy link
Copy Markdown
Owner

🔎 Overview

Adds resetField on useForm and Form APIs. It only works for controlled fields at the moment.

Issues affected

closes #4117

@logaretm logaretm changed the title feat(#4117): add resetField on form/usefor feat(#4117): add resetField on Form/useForm Feb 5, 2023
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

Merging #4120 (5a776aa) into main (83c2e17) will increase coverage by 0.00%.
The diff coverage is 100.00%.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@           Coverage Diff           @@
##             main    #4120   +/-   ##
=======================================
  Coverage   95.94%   95.95%           
=======================================
  Files          68       68           
  Lines        2022     2026    +4     
  Branches      519      520    +1     
=======================================
+ Hits         1940     1944    +4     
  Misses         82       82           
Impacted Files Coverage Δ
packages/vee-validate/src/Form.ts 100.00% <ø> (ø)
packages/vee-validate/src/useForm.ts 98.41% <100.00%> (+0.01%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@logaretm
logaretm merged commit 87c4278 into main Feb 5, 2023
@logaretm
logaretm deleted the feat/4117-reset-field-fn branch February 5, 2023 22:38
@jayenashar

Copy link
Copy Markdown

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.

resetField on Form

3 participants