-
Notifications
You must be signed in to change notification settings - Fork 115
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
$digest already in progress ... Maybe a bug? #67
Comments
Wild guess: put your |
@PhiLhoSoft: |
I suggest to make a fiddle (jsFiddle / Plunker / whatever your choice) reproducing your problem (you can get inspiration from the fiddle linked from the main page). Thus it would be easier to help. |
Sorry for the delay. I was able to reproduce this problem: If you select an item you will see the error I mentioned on the console. Any idea why? |
I think that's because you used the selectize directive as an attribute instead of using it as a tag... Simple workaround: use |
I am using as an attribute since I need the HTML to validated by W3C. |
It looks like AngularJS sees the select element and applies the selectDirective to it, conflicting with the angular-selectize directive. There is a workaround: Selectize can be used on an <input type="text"> element, or even on a simple div: |
@PhiLhoSoft , thanks! That workaround works perfectly! |
Hello,
I have the following HTML:
And on my controller I have the following:
Everything seems to work fine ...
However, when I select an option I get the following error:
Error: [$rootScope:inprog] $digest already in progress
Does anyone has any idea what might be wrong?
Thank You,
Miguel
The text was updated successfully, but these errors were encountered: