We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7ebf7a3 commit 57bcdb8Copy full SHA for 57bcdb8
src/forms/Form.jsx
@@ -76,7 +76,7 @@ Form.propTypes = {
76
customValidation: PropTypes.bool,
77
customActions: PropTypes.oneOfType([PropTypes.element, PropTypes.arrayOf(PropTypes.element)]),
78
initialValues: PropTypes.object,
79
- onCancel: PropTypes.func.isRequired,
+ onCancel: PropTypes.func,
80
onSubmit: PropTypes.func.isRequired,
81
submitLabel: PropTypes.string,
82
validations: PropTypes.object,
0 commit comments