()
| 68 | useInput: true, |
| 69 | }; |
| 70 | componentWillMount() { |
| 71 | const { getFieldDecorator } = this.props.form; |
| 72 | this.nameDecorator = getFieldDecorator('name', { |
| 73 | initialValue: '', |
| 74 | rules: [{ |
| 75 | required: true, |
| 76 | message: 'What\'s your name?', |
| 77 | }], |
| 78 | }); |
| 79 | } |
| 80 | onSubmit = (e) => { |
| 81 | e.preventDefault(); |
| 82 | this.props.form.validateFields((error, values) => { |
nothing calls this directly
no test coverage detected