File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -5,9 +5,9 @@ var React = require('react');
55module . exports = {
66
77 childContextTypes : {
8- validateOnSubmit : React . PropTypes . bool . isRequired ,
9- layout : React . PropTypes . string . isRequired ,
10- validatePristine : React . PropTypes . bool . isRequired ,
8+ layout : React . PropTypes . string ,
9+ validateOnSubmit : React . PropTypes . bool ,
10+ validatePristine : React . PropTypes . bool ,
1111 rowClassName : React . PropTypes . oneOfType ( [
1212 React . PropTypes . string ,
1313 React . PropTypes . array ,
@@ -27,8 +27,8 @@ module.exports = {
2727
2828 getChildContext : function ( ) {
2929 return {
30- validateOnSubmit : this . props . validateOnSubmit || false ,
3130 layout : this . props . layout || 'horizontal' ,
31+ validateOnSubmit : this . props . validateOnSubmit || false ,
3232 validatePristine : this . props . validatePristine || false ,
3333 rowClassName : this . props . rowClassName || '' ,
3434 labelClassName : this . props . labelClassName || '' ,
You can’t perform that action at this time.
0 commit comments