Skip to content
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

Using ng-focus with textAngular #482

Closed
costin-nita opened this issue Jan 12, 2015 · 2 comments
Closed

Using ng-focus with textAngular #482

costin-nita opened this issue Jan 12, 2015 · 2 comments
Labels

Comments

@costin-nita
Copy link

I have the following code written in Jade:

div(text-angular, ta-toolbar="[[""]]", ta-toolbar-class="btn-toolbar", ta-toolbar-group-class="btn-group",
ta-toolbar-button-class="btn btn-sm btn-primary",
ta-toolbar-button-active-class="active", ng-model="model", ng-focus="someFunction()",
ng-blur="someFunction()")

If someFunction was to contain a console.log("Hello!"), "Hello!" would be logged to the console only on blur, but not on focus. I really need that ng-focus function to work and it does not.

@SimeonC
Copy link
Collaborator

SimeonC commented Jan 12, 2015

Thanks for pointing this out, turns out I forgot to add the focus handler trigger as well as the blur.
Will be fixed in next pre-release out shortly!

@SimeonC SimeonC added the bug label Jan 12, 2015
@SimeonC
Copy link
Collaborator

SimeonC commented Jan 13, 2015

Should be fixed in newest pre-release of 1.3.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants