Skip to content

Input not re-validated after date selection. #448

@konuch

Description

@konuch

What is the expected behavior?

Date input is properly re-validated, when invalid value is replaced by a valid date value using the datepicker.

What is the current behavior?

When user manually invalidates date input and error is shown, then enters a valid date value using the date picker, the input field is not re-validated and shows an error.

What are the steps to reproduce?

https://kkvillxpp.github.stackblitz.io/examples/date-picker-input

  1. Invalidate the input to trigger validation error. (delete the value, or enter invalid value)
  2. Open the datepicker and select a date.
  3. Valid date value is entered into the input, but errors are not removed.

Which versions of angular-bootstrap-datetimepicker, OS, TypeScript, browsers are affected?

Latest.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions