app-datepicker icon indicating copy to clipboard operation
app-datepicker copied to clipboard

Changes are not applied if you don't change the whole date

Open MrJakeBlues opened this issue 2 years ago • 2 comments

Description

If the date is correct (i.e July 4) but the year is incorrect, the user must change both the year AND the date in order to update the year. They can then change the date back to the original/correct value, but if only the year is changed, then nothing is saved and the original incorrect value remains.

Expected outcome

You should be able to change the year only and it should be applied to the date.

Actual outcome

You should change the full date to make these changes applied.

Steps to reproduce

  1. Change the year only
  2. The date stays the same, changes are not applied

Browsers Affected

  • [x] Chrome/ Opera
  • [x] Firefox
  • [x] Safari 10+
  • [x] Safari 9
  • [x] Safari 8
  • [x] Safari 7
  • [x] Edge 12+
  • [x] IE 11

MrJakeBlues avatar Jun 20 '22 10:06 MrJakeBlues

@MrJakeBlues Thanks for the issue. Could you please add the following missing details for the issue?

  1. Version used
  2. Component used, preferably with a code snippet
  3. Steps for reproduction

motss avatar Jun 20 '22 11:06 motss

Hey,

  1. Version 5.1
  2. Khm... I think it's base behavior. I can see the same on the demo page
    1. Change the year only
  3. Click outside of calendar
  4. The date (year, month, day) stays the same, changes are not applied

MrJakeBlues avatar Jun 28 '22 14:06 MrJakeBlues