Skip to content

Update kendo.core.js #8231

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant