Skip to content
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

Unexpected change event triggering when using value() method of remote datasource DropDownTree with checkboxes and autoBind false #5134

Closed
Dimitar-Goshev opened this issue Jun 25, 2019 · 1 comment
Assignees
Labels
Bug C: DropDownTree FP: Completed Sync status with associated Feedback Item jQuery SEV: High
Milestone

Comments

@Dimitar-Goshev
Copy link
Contributor

Dimitar-Goshev commented Jun 25, 2019

Bug report

Unexpected change event triggering when using value() method of remote datasource DropDownTree with checkboxes and autoBind false.

The change event will also be triggered upon data rebinding if a value is already selected in the widget.

Reproduction of the problem

When using value()

  1. Run the following Dojo
  2. Click on Load button to set the value of the Child item

When rebinding

  1. Run the following Dojo
  2. Open the drop-down
  3. Select an item
  4. Click on click me button to rebind data

Current behavior

Script runs through datasource read else, then through datasource read if and then DropDownTree's change event is fired.

NOTE: if there is no setTimeout or if the two nodes are loaded at the same time with no if else clause, then the issue is not reproducible.

Expected/desired behavior

DropDownTree's change event is not fired, when value() method is called.

Environment

  • Kendo UI version: 2019.2.619
  • Browser: [all]

Similar fixed issue: #4352
Similar NOT fixed issue, but involving filtering as well: #4591

@kendo-bot kendo-bot added the FP: Unplanned Sync status with associated Feedback Item label Jun 25, 2019
@zdravkov zdravkov self-assigned this Oct 17, 2019
@nenchef nenchef added the FP: Planned Sync status with associated Feedback Item label Oct 17, 2019
@kendo-bot kendo-bot added FP: In Development Sync status with associated Feedback Item and removed FP: Unplanned Sync status with associated Feedback Item FP: Planned Sync status with associated Feedback Item labels Oct 17, 2019
@zdravkov zdravkov added this to the R1 2020 milestone Oct 17, 2019
@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 Oct 28, 2019
@kendo-bot kendo-bot added FP: In Development Sync status with associated Feedback Item and removed FP: Completed Sync status with associated Feedback Item labels Oct 30, 2019
@Dimitar-Goshev
Copy link
Contributor Author

@zdravkov After the fix the first scenario appears resolved. But the second scenario is still reproducible:

When rebinding
Run the following Dojo
Open the drop-down
Select an item
Click on click me button to rebind data

@Dimitar-Goshev Dimitar-Goshev modified the milestones: R1 2020, 2019.R3.SP.next Nov 8, 2019
@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 Nov 8, 2019
@mparvanov mparvanov modified the milestones: 2019.R3.SP.next, R1 2020 Jan 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug C: DropDownTree FP: Completed Sync status with associated Feedback Item jQuery SEV: High
Projects
None yet
Development

No branches or pull requests

5 participants