Skip to content

Conversation

Vanalli
Copy link

@Vanalli Vanalli commented May 22, 2025

Added check that date value is an empty object and return null

Note to external contributors - make sure to sign our Contribution License Agreement (CLA) first:

https://docs.google.com/forms/d/e/1FAIpQLSduN9hHUJpnjr_KOGsmSM_yGO-KKKggCJhiaOlEOLig6_Wkbg/viewform

This change fixes a bug which affects grids populated with DataTable object.

If a DateTime value is null, Kendo UI calls indexOf on empty object when parsing this value, causing an exception and the grid never loads.

Please check issue 8095 for details

Added check that date value is an empty object and return null
created method isEmptyObject to test for js objects without any properties and changed logic in internalParseDate to check for blank of empty objects in the value passed in
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant