diff --git a/src/widgets/input/TextInput.js b/src/widgets/input/TextInput.js index ecc4ded..69dc47d 100644 --- a/src/widgets/input/TextInput.js +++ b/src/widgets/input/TextInput.js @@ -53,7 +53,7 @@ TextInput.propTypes = { fetchValue: PropTypes.func, writeValue: PropTypes.func, type: PropTypes.string, - convert: PropTypes.object, + convert: PropTypes.oneOfType([PropTypes.func,PropTypes.object]) }; TextInput.defaultProps = {