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

Update Final Form et al. #1173

Merged
merged 9 commits into from
Aug 27, 2019
Merged

Update Final Form et al. #1173

merged 9 commits into from
Aug 27, 2019

Conversation

Gnito
Copy link
Contributor

@Gnito Gnito commented Aug 26, 2019

  • Update final-form, final-form-arrays, react-final-form, react-final-form-array
  • Old recommendation of by-passing default field formatting or parsin isn't accepted anymore:
    • format={null} => use identity function instead: format={v => v}
    • parse={null} => use identity function instead: parse={v => v}
  • Final Form passes input props (name, value, onChange, onBlur, etc. ) grouped inside input key
    • those props now include type attribute too.
  • We had old form naming pattern with prop 'form', which now conflicted with updated Final Form
    (The prop was used when Redux-Form was the form library - so, it's a very old nasty habit)
  • Other small fixes for styleguide etc.

@Gnito Gnito changed the title Update Final Form etc. Update Final Form et al. Aug 26, 2019
@Gnito Gnito merged commit dbfb514 into master Aug 27, 2019
@Gnito Gnito deleted the update-final-form branch August 27, 2019 12:21
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.

2 participants