precise-ui icon indicating copy to clipboard operation
precise-ui copied to clipboard

DateField Keyboard input

Open fl-lutz opened this issue 4 years ago • 1 comments

https://precise-ui.io/#/Components/DateField

Steps to reproduce:

  1. Select a day manually
  2. Try to change the date by typing the date with the keyboad.

-> it's not possible to enter the date correctly, because after the first number the date gets autocompleted

fl-lutz avatar Aug 20 '19 10:08 fl-lutz

@ZOFLLUTZ Could you try enabling the strictParsing property in the DateField and give feedback if this is your desired behavior?

Just exchange the code on the first example on https://precise-ui.io/#/Components/DateField to

const { DateField } = require('precise-ui');

<DateField strictParsing onChange={(e) => console.log(e)} />

ZEISSLaurinAgostini avatar Sep 20 '19 09:09 ZEISSLaurinAgostini