Closed bettysteger closed 10 years ago
FYI just saw this pull request: https://github.com/yuku-t/jquery-textcomplete/pull/38 so when jquery-textcomplete 0.2.0 is finally out, it would be cool if you can update that too :)
what do you think of updating it now/soon? there is not much code to change: https://github.com/yuku-t/jquery-textcomplete/pull/38/files
Sorry, @lpsBetty I'm currently on the spring festival in China and I do not have access to internet. Sorry for the delay and I'll update the code when I come back.
no problem! (:
Merged your pull request and update package to v0.4.0, thanks!
thanks! unfortunately still this bug occurs: https://github.com/fraserxu/ng-textcomplete/issues/3
maybe I have time to fix this at any time ..
Could it be possible to use like this:
and the directive then uses your ng-textcomplete...
it works just fine when using a textarea, but when using it with a div contenteditable the element has no value so I made the following change in your code:
with this little change the dropdown appears also in contenteditable div, but one problem is that selectionEnd is undefined, and when selecting a item from the dropdown, it will not be inserted .. can you help me solve this?
nice angular module btw!