please add button type attribute to your button for Input

Issue #5 resolved
Yash Chaudhary created an issue

I am using it with Formik and since button tags doesn't have type=button attribute , its always submitting the form .

                      <Input
                          value={this.state.startDate}
                          readOnly={false}
                          options={true}
                          format="YYYY-MM-DD HH:mm"
                          onChange={this.handleStartDate}
                        />

It needs to be done for im-btn class , prev-month and next-month class

Comments (1)

  1. Log in to comment