Browse Source

fix: suppress submit event by default #1173

pull/1177/head
Benjy Cui 9 years ago
parent
commit
f0c4ecbc8f
  1. 3
      components/form/Form.jsx

3
components/form/Form.jsx

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

Loading…
Cancel
Save