Unplanned
Last Updated: 20 Oct 2023 05:36 by Michal
Michal
Created on: 20 Oct 2023 05:36
Category: Grid
Type: Bug Report
0
DatePicker min does not take effect in Grid when culture is set

Bug report

When culture different than 'en-..' is set in Grid the validation.min for the Date field is not taken into account.

Reproduction of the problem

  1. Run the Dojo example - https://dojo.telerik.com/@NeliKondova/ILOpaQAv
  2. Select different cultures from the DropDown above the Grid
  3. Try to edit the row and expand the DatePicker nested in the Date1 column

Current behavior

In case a culture different than 'en-..' is selected the min value for the DatePicker is not applied.

Expected/desired behavior

The min value should be set for the DatePicker no matter of the culture.

Workaround

 edit: function(){
             $('[data-role="datepicker"]').data("kendoDatePicker").setOptions({ min: new Date()})
          },

Environment

  • Kendo UI version: 2023.3.1010
  • Browser: [all ]
0 comments