formik-mui icon indicating copy to clipboard operation
formik-mui copied to clipboard

Firefox behavior with KeyboardDatePicker on invalid Date

Open dieguezz opened this issue 5 years ago • 3 comments

Description

In Firefox, when you fill in an invalid date in a keyboardDatePicker, then the date you filled is changed automatically.

Steps to reproduce:

  1. Go to https://codesandbox.io/s/keyboarddatepicker-invalid-firefox-b1b7l
  2. Fill in an invalid date like 11/11/1111
  3. Your date value has changed to 10/11/1111

dieguezz avatar Sep 30 '20 11:09 dieguezz

I just updated all deps and this is still happening in firefox

input

dieguezz avatar Nov 02 '21 08:11 dieguezz

Hi @dieguezz can you share the updated code sandbox?

cliedeman avatar Nov 02 '21 10:11 cliedeman

and, I have some unknown issue with material ui 4 and { DatePicker } from "formik-material-ui-lab";

  • the form wont load, when i use, either of DatePicker, DateTimePicker, or TimePicker.
  • Do I have any quick fix for this?

SreenivasForLeafcraft avatar Feb 13 '22 10:02 SreenivasForLeafcraft

Closing as i am not updating the sandbox (2 year later) and i dont use formik anymore

dieguezz avatar Jan 18 '23 08:01 dieguezz