Skip to content

Commit

Permalink
fix: invalid field type
Browse files Browse the repository at this point in the history
  • Loading branch information
adrians5j committed Apr 27, 2019
1 parent 4303a1b commit 4a120fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ function date({ list, ...rest } = {}) {
return setValue.call(this, prepareValue(value));
}
};
})(createField({ ...rest, list, type: "object" }))
})(createField({ ...rest, list, type: "date" }))
);
}

Expand Down

0 comments on commit 4a120fd

Please sign in to comment.