kendo-ui-core icon indicating copy to clipboard operation
kendo-ui-core copied to clipboard

The Start Date validation message is not removed automatically when the selected End Date is later in the Gantt.

Open martintabakov opened this issue 4 years ago • 1 comments

Bug report

When the validation message appears that the Start Date should be before the End Date, picking a proper End Date does not automatically remove the validation message in the Gantt.

Workaround: call the validate method in the change event of the End DatePicker. https://dojo.telerik.com/@[email protected]/IQiRukIN/11

Reproduction of the problem

  1. Open this Dojo example - https://dojo.telerik.com/@[email protected]/IQiRukIN/10
  2. Edit an existing task or create a new one.
  3. In the Start DatePicker, choose a date that is after the EndDate, so that the validation message would appear.
  4. Pick an EndDate that is after the StartDate.

Current behavior

The validation message remains and the user must again focus and blur the Start Date picker for the message to disappear.

Expected/desired behavior

The validation should be removed automatically after picking a EndDate that is after the StartDate.

Environment

  • Kendo UI version: 2021.3.914
  • Browser: [all]

martintabakov avatar Oct 06 '21 11:10 martintabakov

Additionally, when saving the task after following the steps above, the new Start Date is not being saved.

martintabakov avatar Nov 09 '21 11:11 martintabakov