vmware-clarity/ng-clarity

Datepicker: min/max validation not updated

ekrismer opened this issue · 2 comments

Describe the bug

The min and max input of the clarity date picker do not react to changes to the provided value.

How to reproduce

See this stackblitz: https://stackblitz.com/edit/clarity-light-theme-clr15-xuikzh?file=src%2Fapp%2Fapp.component.html

Steps to reproduce the behavior:

  1. Update or clear minDate
  2. Update or clear maxDate

Expected behavior

When clearing or updating the min/max dates the input should become valid.

Versions

Clarity version:

@clr/angular 15.1.0
@angular/core 15.0.4
@cds/core 6.4.4

Additional notes

The validation feature was introduced in #360

Issue is fixed and merged in 15.x, 16.x and 17.x

Hi there 👋, this is an automated message. To help Clarity keep track of discussions, we automatically lock closed issues after 14 days. Please look for another open issue or open a new issue with updated details and reference this one as necessary.