From c8397412013b7d21fd4b3ba769484f3abf79f4d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johan=20Ska=CC=88r=20Holm?= Date: Fri, 18 Oct 2019 13:47:28 +0200 Subject: [PATCH] Add support for passing custom mutators to final-form.form via django-bananas.forms.Form --- src/forms/Form.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/forms/Form.js b/src/forms/Form.js index b82df2d..6063a53 100644 --- a/src/forms/Form.js +++ b/src/forms/Form.js @@ -77,12 +77,12 @@ class Form extends React.Component { }; render() { - const { route, children, formProps, ...props } = this.props; + const { route, children, formProps, mutators, ...props } = this.props; return ( {({ handleSubmit, ...childProps }) => (