Skip to content

Missing toString method passing an object as kendo.Observable #6308

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

Closed
aleksandarevangelatov opened this issue Mar 2, 2021 · 4 comments
Closed
Assignees
Labels
Bug FP: Completed Sync status with associated Feedback Item jQuery SEV: Medium
Milestone

Comments

@aleksandarevangelatov
Copy link
Contributor

Bug report

If an object has an overridden toString method and is passed as a kendo.Observable the toString method of the object is not passed. This is a regression introduced with v2020.3.1023.

Reproduction of the problem

  1. Run this dojo
  2. The overriden toString method is not available

Expected/desired behavior

The custom toString method should be passed, as in v2020.3.915: dojo

Environment

  • Kendo UI version: 2021.1.224
  • Browser: [all]
@kendo-bot kendo-bot added the FP: Unplanned Sync status with associated Feedback Item label Mar 2, 2021
@aleksandarevangelatov aleksandarevangelatov changed the title Mиssing toString method passing an object as kendo.Observable Missing toString method passing an object as kendo.Observable Mar 2, 2021
@kendo-bot kendo-bot added FP: Planned Sync status with associated Feedback Item and removed FP: Unplanned Sync status with associated Feedback Item labels Mar 2, 2021
@kendo-bot kendo-bot added FP: In Development Sync status with associated Feedback Item and removed FP: Planned Sync status with associated Feedback Item labels Mar 10, 2021
@mparvanov mparvanov added this to the 2021.R1.SP.next milestone Mar 17, 2021
@kendo-bot kendo-bot added FP: Completed Sync status with associated Feedback Item and removed FP: In Development Sync status with associated Feedback Item labels Mar 17, 2021
@martintabakov martintabakov reopened this Jan 21, 2022
@martintabakov
Copy link
Contributor

martintabakov commented Jan 21, 2022

The issue persist when using prototype to override the toString method. Refer to this example - https://dojo.telerik.com/EpemoliS.
It works fine with version 2020.3.915.

@kendo-bot kendo-bot added FP: Planned Sync status with associated Feedback Item and removed FP: Completed Sync status with associated Feedback Item labels Feb 22, 2022
@veselints
Copy link
Contributor

Related to: #5973

@veselints
Copy link
Contributor

A similar issue is also present when assigning a jQuery object to a field in the observable. Here is a Dojo demonstrating the result:
https://dojo.telerik.com/eyeHosEQ/3

@Iankodj
Copy link
Contributor

Iankodj commented Jul 15, 2022

@kendo-bot kendo-bot added FP: In Development Sync status with associated Feedback Item and removed FP: Planned Sync status with associated Feedback Item labels Jul 15, 2022
@kendo-bot kendo-bot added FP: Completed Sync status with associated Feedback Item and removed FP: In Development Sync status with associated Feedback Item labels Jul 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug FP: Completed Sync status with associated Feedback Item jQuery SEV: Medium
Projects
None yet
Development

No branches or pull requests

7 participants