angular-ui/ui-grid

Celledit makes changes on all cells after edit and cellNav

Open

#5.742 aberto em 14 de out. de 2016

Ver no GitHub
 (2 comments) (0 reactions) (0 assignees)JavaScript (2.496 forks)batch import
good first issue

Métricas do repositório

Stars
 (5.395 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

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'

Guia do colaborador