Skip to content
This repository has been archived by the owner on Aug 25, 2020. It is now read-only.

feat: valuesAsFormData + valuesAsJson #42

Merged
merged 2 commits into from
Mar 17, 2019
Merged

Conversation

Nevoss
Copy link
Owner

@Nevoss Nevoss commented Mar 15, 2019

closes #41

Adding 2 more methods to the Form class,

  • valuesAsFormData - will return the form values inside a FormData object.
  • valuesAsJson - will return the form values in JSON format.

@codecov
Copy link

codecov bot commented Mar 16, 2019

Codecov Report

Merging #42 into dev will increase coverage by 0.02%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##              dev      #42      +/-   ##
==========================================
+ Coverage   99.06%   99.09%   +0.02%     
==========================================
  Files          19       19              
  Lines         321      330       +9     
  Branches       53       54       +1     
==========================================
+ Hits          318      327       +9     
  Misses          2        2              
  Partials        1        1
Impacted Files Coverage Δ
src/core/Form.ts 99.27% <100%> (+0.05%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 86fa604...186e809. Read the comment docs.

@Nevoss Nevoss force-pushed the feat/values-as-form-data branch from 950b67e to 186e809 Compare March 16, 2019 08:01
@Nevoss Nevoss merged commit f399231 into dev Mar 17, 2019
@Nevoss Nevoss deleted the feat/values-as-form-data branch March 17, 2019 20:30
Nevoss added a commit that referenced this pull request Mar 19, 2019
closes #41

Adding 2 more methods to the Form class,

valuesAsFormData - will return the form values inside a FormData object.
valuesAsJson - will return the form values in JSON format.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant