I have noticed some weird behaviour when using the SwiftKey keyboard on Android.
To recreate:
- Install SwiftKey keyboard and enable
- browse to https://demos.telerik.com/kendo-ui/dateinput/index in chrome for android
- Select year component of date input control
- type 1 - year shows as 0001 - correct
- type 9 - year shows as 0019 - correct
- type 7 - year shows as 0009 - incorrect
- type 5 - year shows as 0019 - incorrect
All the other keyboard i have tried work as expected, i appreciate that this is a non standard keyboard on Android however it is a widely used one and works as expected when typing 1975 into any other app / control on the device.
The DatePicker widget does not focus the input element when the calendar icon is clicked. Because of that, validation errors are persisted even when the value of the input has been filled out correctly. The input needs to be manually focused and then unfocused to get rid of the validation message.
This behavior can be observed on the following demo page:
https://demos.telerik.com/kendo-ui/validator/custom-validation
The demo should be viewed in mobile mode.
When the dateinput is created using data-role attribute and the unbind method is used to unbind the component an error is thrown.
An error Uncaught TypeError: Cannot read properties of undefined (reading 'kendoBindingTarget')
is thrown in the console
No error should be thrown when destroying dateInput component.