Search code examples
reactjskendo-uidatepickerreact-datepicker

Disable selected and previous date which is selected in start date with Date Picker in the other end DatePicker in React


`I want to disable previous selected start date and time in the End date field. I am using Kendo Library for Date Picker. I have two input field Start date and End Date. Whatever date is select in Start Date input, I want it can Disable in endDate field and user can select only next date onwards dates in the endDate field. I have tried startDate + 1 at mindate attribute but it is not working


Solution

  • Issue has been resolved with property min using moment() functionality as below :

    min={moment(startDate).add(1,'days').toDate()}