laboratoriobridge / bold

https://bold.bridge.ufsc.br
MIT License
76 stars 9 forks source link

[DateRangePicker] value="NaN" when a text is pasted #835

Open 23analu opened 8 months ago

23analu commented 8 months ago

Describe the bug

When pasting anything that is not a number, the field is filled with "NaN"

To Reproduce

Steps to reproduce the behavior:

  1. Go to DateRangePicker element
  2. Paste a value that is not a number
  3. See error; value="NaN"

Expected behavior

Do not complete the value as "NaN"

Screenshots

image

Desktop (please complete the following information):