ngTagsInput icon indicating copy to clipboard operation
ngTagsInput copied to clipboard

enter keydown event not firing when input is empty

Open kagant15 opened this issue 6 years ago • 2 comments

I need the ability to execute a function when the user presses enter/return inside the input box when its empty. The problem is if add-on-enter="true" which it is by default then event.preventDefault() will prevent my custom function from firing. However if I set add-on-enter="false" it will work but then I look my add on enter feature which I also want.

kagant15 avatar May 25 '18 15:05 kagant15

Hi! Did you find out how to handle events on the autocomplete directive? I would like to control on-blur and on-focus events

thanks!

sauldeleon avatar Apr 08 '20 17:04 sauldeleon

I can’t remember if I did. It’s been a while since I had this problem and I don’t use this lib anymore. I’m sorry I can’t be more helpful.

kagant15 avatar Apr 09 '20 22:04 kagant15