angular-ui/ui-grid

Celledit makes changes on all cells after edit and cellNav

Open

#5.742 geöffnet am 14. Okt. 2016

Auf GitHub ansehen
 (2 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (2.496 Forks)batch import
good first issue

Repository-Metriken

Stars
 (5.395 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

I have a grid with cellNav enabled. I also have the enableCellEditOnFocus and the cellTemplate set on 'ui-grid/cellEditor'

When I enter the cell and edit it, everything goes well. Then I tab to the next field and enter new text -> repeating these steps. Now, when you press leave the grid / unFocus the cells and you press another key on the keyboard (p) all the fields that you previously entered are filled with this value.

See plunker: http://plnkr.co/edit/3esyAJ05giDjjsETxjPT?p=preview

Steps:

  1. Enter field and start typing.
  2. Navigate to next few input fields by pressing the 'tab' key and enter a value
  3. Leave the grid by clicking the mouse outside the form or set the focus on a non editable field
  4. Press the letter 'T' on the keyboard result: All previously entered fields are filled with 'T'

Contributor Guide