I have a date picker in kendo react grid, and when a user enter a invalid date(01/01/0000)
and press ENTER key, the data is saving.
we already have the validation in onblur function, and the error pop up will show while user enters the invalid date.
we need the solution as "The validation should happen similar as onblur function while user enter the invalid date and press enter key."
Could anyone help on this would be great.
<DatePicker
calendar={CustomDateCalendar}
id='dtDOB'
name='DOB'
style={{ height: "36px" }}
format='MM/dd/yyyy'
formatPlaceholder={{ year: "YYYY", month: "MM", day: "DD" }}
value={props.dataItem.dob}
focusedDate={new Date()}
onChange={this.handleDOBChange.bind(this, props)}
onBlur={this.onBlurDOBDateValidation.bind(props.dataItem, props, this)}
//validate={this.dobDateValidation(props.dataItem.dob)}
valueField='value'
textField='text'
/>