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

Fix move/swap breaking input fields #16

Merged
merged 1 commit into from
Dec 10, 2018

Conversation

carlhueffmeier
Copy link
Contributor

During move and swap, the field state of the source field was copied to
the target field. The field state, however, contained functions that had
a reference to the previous position. This caused changes to be applied
to the wrong field.

Resolves: #15
See also: #10

During move and swap, the field state of the source field was copied to
the target field. The field state, however, contained functions that had
a reference to the previous position. This caused changes to be applied
to the wrong field.

Resolves: final-form#15
See also: final-form#10
@codecov
Copy link

codecov bot commented Nov 27, 2018

Codecov Report

Merging #16 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master    #16   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           9      9           
  Lines          82     84    +2     
  Branches       16     16           
=====================================
+ Hits           82     84    +2
Impacted Files Coverage Δ
src/move.js 100% <100%> (ø) ⬆️
src/swap.js 100% <100%> (ø) ⬆️

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 d531bb6...c419470. Read the comment docs.

@semeleven
Copy link

Can someone merge this, pls?

@erikras erikras merged commit 4350d28 into final-form:master Dec 10, 2018
@erikras
Copy link
Member

erikras commented Dec 10, 2018

Published in v1.1.1.

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.

None yet

3 participants