diff --git a/package.json b/package.json index 99237af..09512c7 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-material-ui-form-validator", - "version": "0.3.0", + "version": "0.3.1", "description": "Simple validator for forms designed with material-ui components.", "main": "./lib/index.js", "scripts": { diff --git a/src/ValidatorComponent.jsx b/src/ValidatorComponent.jsx index c4fb386..a05d50e 100755 --- a/src/ValidatorComponent.jsx +++ b/src/ValidatorComponent.jsx @@ -110,6 +110,7 @@ ValidatorComponent.propTypes = { validators: PropTypes.array, name: PropTypes.string, value: PropTypes.oneOfType([ + PropTypes.object, PropTypes.string, PropTypes.number, ]),