taiga-family / taiga-ui

Angular UI Kit and components library for awesome people
https://taiga-ui.dev
Apache License 2.0
3.19k stars 435 forks source link

🐞 - `InputDateRange` should show the end of the selected range #8656

Closed nsbarsukov closed 1 week ago

nsbarsukov commented 3 weeks ago

Playground Link

https://taiga-ui.dev/components/input-date-range/API?items$=1

Description

  1. https://taiga-ui.dev/components/input-date-range/API?items$=1
  2. Click on the textfiled
  3. Select For all the time item (January 0000 <=> Today)
  4. Click on the textfield again

Expected behavior: Calendar shows the end of the selected period (as it was before in v3).

Actul behavior: Calendar shows the beginning of the selected period.

date-range-actual

Angular version

16

Taiga UI version

4.3.0

Which browsers have you used?

Which operating systems have you used?

mdlufy commented 2 weeks ago

Such behaviour was introduced in https://github.com/taiga-family/taiga-ui/commit/ef0c0f9f55135c8864902ae3cda3e425fb741b17#diff-8fda4881ec9c2cd09a2bf32685bee1e50c9f4880e0fb41586f6e88bc0001e3e7R103-R104