我正在尝试在我的todo应用程序中添加一个表单。在字段中,当我单击输入某样东西时,这会显示一个错误。像这样- TypeError:无法读取未定义(读取'description')的属性这是我的TodoComponent文件。import React, { Component } from 'react';
import moment from '
Login );/> 我正在尝试这个解决方案 https://github.com/jaredpalmer/formik/issues/73#issuecomment-317169770 但它总是返回给我Uncaught TypeError: _this.props.onSubmit is not a function当我试着console.log(this.form)有submitForm函数。Fo