的DatePicker日期輸入我想stote使用Redux的形式在我的狀態日期。我使用react-datepicker。爲了使日期選擇器與我的終極版形式兼容我寫: import React, { PropTypes } from 'react';
import DatePicker from 'react-datepicker';
import moment from 'moment';
i
訪問狀態和形狀值I具有以下Redux的形式(6.5.0)的源代碼: class MyForm extends Component {
\t handleSubmit() {
\t \t console.log("Inside the handleSubmit of the MyForm Component where state is accessible", this.