fix: suppress submit event by default #1173

pull/1177/head
Benjy Cui 9 years ago
parent 827ac4b7e8
commit f0c4ecbc8f

@ -35,6 +35,9 @@ Form.propTypes = {
Form.defaultProps = {
prefixCls: 'ant-form',
onSubmit(e) {
e.preventDefault();
},
};
Form.childContextTypes = {

Loading…
Cancel
Save