Enterprise: Datepicker - Issues with range picker, resetting the old values.

Created on 9 Nov 2018  ·  8Comments  ·  Source: infor-design/enterprise

Describe the bug
There are some issues with date picker when using range picker.

To Reproduce
Bug One

  1. Go to http://localhost:4000/components/datepicker/example-range.html
  2. Click on the picker and select a range
  3. Go back in the field
  4. Clear the values
  5. Open again
  6. Error: The picker should not be showing the old value

Bug Two

  1. Go to http://localhost:4000/components/datepicker/example-range.html
  2. Click on the picker and select a range
  3. Go back in the field
  4. Type a value in the field
  5. Should not have to hit space in between in the mask
  6. Open again
  7. Error: The picker should not be showing the old value

Expected behavior
Should reflect the value in the field.

CC Lothar Blum

[3] type

All 8 comments

Noting that issue on is fixed but issue 2 is open as a duplicate #415

http://localhost:4000/components/datepicker/example-range.html
Does the fix also apply to Date picker with disabled date? Currently, Bug 1 can still be encountered on "Range - Disable Not included" and "Range - Disable included"

Yes it should, im trying again and not seeing any problem with those. It does not seem to be reverting to the old value. Can you test on http://4130-beta0-enterprise.demo.design.infor.com/components/datepicker/example-range.html instead of localhost to be sure your on the right code?

But i do see the new case here https://github.com/infor-design/enterprise/issues/1268 which is much more minor.

Hi @tmcconechy , I also tried http://4130-beta0-enterprise.demo.design.infor.com/components/datepicker/example-range.html and I can still encounter the bug on "Range - Disable Not included" and "Range - Disable included". And also on "Range - Initial value by Settings"
datepicker_oldval3

OK i see on the clear. Can we make a new ticket for this last part then.

Created new ticket #1306

https://4130-rc0-enterprise.demo.design.infor.com/components/datepicker/example-range.html
Bug 1 and Bug 2 are now fixed, tested on all browsers. Moving to this Done.

Was this page helpful?
0 / 5 - 0 ratings