Skip to content

Commit

Permalink
chore: release v0.5.0-beta.7
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiaqi Liu committed Mar 6, 2019
1 parent cd45ab3 commit 7b3e575
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-formutil",
"version": "0.5.0-beta.6",
"version": "0.5.0-beta.7",
"description": "Happy to build the forms in React ^_^",
"main": "lib/index.js",
"directories": {
Expand Down
2 changes: 1 addition & 1 deletion src/Field.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class Field extends Component {
}

return this.$$merge({
...this.$baseState, // the default state
...this.$baseState, // the base state
...this.props.$defaultState, // self default state
$value: '$defaultValue' in this.props ? this.props.$defaultValue : '',
...$initialState, // the default state from Form
Expand Down

0 comments on commit 7b3e575

Please sign in to comment.