angular-localForage icon indicating copy to clipboard operation
angular-localForage copied to clipboard

Directive Does Not Save Value When Highlighting and Deleteing Input or When Value is Entered and Then Deleted

Open TimeTravelersHackedMe opened this issue 9 years ago • 2 comments

I'm having trouble with the directive. It works except for certain cases where input is entered, highlighted, and deleted using the backspace key. Also, when value is entered and then backspaced to be deleted it saves the first character.

Any idea what is going on?

TimeTravelersHackedMe avatar Jan 07 '16 18:01 TimeTravelersHackedMe

Perhaps this can be fixed by using $watch in the directive?

TimeTravelersHackedMe avatar Jan 07 '16 18:01 TimeTravelersHackedMe

@TimeTravelersHackedMe Sounds like a legit bug to me, I'll take a peek. Feel free to PR if you find a fix before me!

scotttrinh avatar Jun 15 '16 16:06 scotttrinh