From 391cd25496b0fe677d720aafff996b509d23deb0 Mon Sep 17 00:00:00 2001 From: Eric Valadas Date: Tue, 6 Sep 2016 20:49:22 -0400 Subject: [PATCH] Don't set defaultValue with the state value --- src/field.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/field.js b/src/field.js index 50570b6..4363411 100644 --- a/src/field.js +++ b/src/field.js @@ -68,7 +68,7 @@ export default function(WrappedComponent) { elementProps() { const elementProps = Object.assign({ defaultChecked: this.props.value === this.props.initialValue, - defaultValue: this.props.value || this.state.value, + defaultValue: this.props.value || this.props.initialValue, onChange: this.handleChange }, this.props);