-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
should this component still work? #3
Comments
Yes, it should. |
I just tried it and works. Did you tried in a simple textarea? I did and works but I tried in textareas generated dynamically in a ng-repeat and doesn't work. |
hmm...interesting, probably the render should be push with $timeout. |
Besides the content comes from a model. The block of that example is this one:
|
HI CodingAspect!
And you could add: I needed as simple as possible directive to do the job, but I couldn't find anything sensible... Here is my directive - I think there is no need to put everything on the $scope. (function(){
})(); https://plnkr.co/edit/r43DDnw68ZB9qX0O18Tm?p=preview greetings |
Thanks @Mike120Git, works perfectly :) Edit: I jus fixed it with this: |
@codingAspect Did you ever come up with a fix for textareas dynamically generated in an ng-repeat? Been using your directive and it works great outside of that issue! |
@Mike120Git - I'm not sure why my comment isn't here, but this issue has been fixed right after you posted it. |
I have created a new app with the angular fullstack generator, and tried to use this component, but does not work at all.
The text was updated successfully, but these errors were encountered: