primeng icon indicating copy to clipboard operation
primeng copied to clipboard

onEditComplete event is not fired when user hit Tab key

Open jefftham opened this issue 9 years ago • 3 comments

I'm submitting a ... (check one with "x")

[X] bug report => Search github for a similar issue or PR before submitting
[ ] feature request => Please check if request is not on the roadmap already https://github.com/primefaces/primeng/wiki/Roadmap
[ ] support request => Please do not submit support request here, instead see http://forum.primefaces.org/viewforum.php?f=35

Plunkr Case (Bug Reports) Please fork the plunkr below and create a case demonstrating your bug report. Issues without a plunkr have much less possibility to be reviewed.

http://plnkr.co/edit/RXLYlwueQ0qCcCdPvCmv?p=preview

Current behavior

DataTable Editable field fire onEditComplete Event only the user hit "Enter" on the keyboard. This event will not be triggered if user hit "Tab" on the keyboard or click other field with mouse.

Expected behavior

On column blur should trigger onEditComplete event as well.

Minimal reproduction of the problem with instructions

http://plnkr.co/edit/RXLYlwueQ0qCcCdPvCmv?p=preview

What is the motivation / use case for changing the behavior?

It should be improved and acts correctly.

Please tell us about your environment:

Windows 10, vscode, npm, angular 2, angular/cli, google firebase

  • Angular version: 4.0.0
  • PrimeNG version: 2.0.6
  • Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ] all browsers
  • Language: [all | TypeScript X.X | ES6/7 | ES5] TypeScript 2.2.2

  • Node (for AoT issues): node --version = 7.8.0

jefftham avatar Apr 16 '17 18:04 jefftham

I have this problem too and I need this behavior too

igogu avatar Apr 21 '17 10:04 igogu

It seems that it is not working from the 2.0.1 version and it was working at 1.1.1 primeng version. https://forum.primefaces.org/viewtopic.php?f=35&t=49725&p=155500#p155500

Is it any plan to fix this?

igogu avatar May 02 '17 12:05 igogu

The only edit event that seems to work as per the documentation is OnEditInit, can anyone comment on whether these will be fixed? http://plnkr.co/edit/1FnDcOcK3YChNjdvTT8A

jamesdking avatar May 25 '17 12:05 jamesdking