Unplanned
Last Updated: 08 Mar 2022 08:41 by Magnus
Magnus
Created on: 08 Mar 2022 08:41
Category: Gantt
Type: Bug Report
1
Gantt save event is fired but value is not updated when the text is selected using the mouse

Bug report

When a value in the TreeList nested in the Gantt is edited and is initially selected using the mouse, the save event is fired, but the e.values is undefined. Also, the value is changed back to the initial one.

Reproduction of the problem

  1. Open the Dojo - https://dojo.telerik.com/@NeliKondova/arUgAguv
  2. Click in the 'Task1' cell to edit and mark the entire text using the mouse
  3. Type some text and press 'Enter' - The issue will not be replicated in case the edited mode is exited through clicking in another cell, but only by pressing Enter.
    screencast

Current behavior

The Edit and Save events are fired. The value of the e.values in the save events is undefined. The value of the cell is changed back to the initial one.

When the value of the cell is not marked initially with the mouse, but the user starts typing immediately after clicking in the cell the issue is not replicated. Also, only the Save event is fired and the new value is present in e.values

Note: The issue might be related to the following behavior in the TreeList: When the steps described above are followed in the TreeList - the save event is fired, but actually the edited mode is not exited - Dojo

Expected/desired behavior

The behavior should be consistent. The same events should be fired in case the edited mode is exited by pressing 'Enter' and by clicking in another cell and e.values should contain the updated value.

Environment

  • Kendo UI version: 2022.1.301.
  • Browser: [all ]
0 comments