You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.
I've potentially noticed a bug when using using AngularJs + AngularUI's CodeMirror directive. Using the custom directive seems to be breaking the model's template interpolation on all of the the immediate children after the textarea
The sourcecode for this example is here - I've tried to cut down the example as much as I could
Steps to reproduce:
Input 'foo' into the textarea
What I expect to happen
The word 'foo' should be present in all 3 of the output lines
What actually happens
Output #1 works :: foo
Output #2 doesn't work :: {{codeMirrorModel}}
Output #3 works :: foo
This seems to be present in the following AngularJs versions 1.0.0-1.0.3
Hopefully this is enough information for you guys :)
Cheers
The text was updated successfully, but these errors were encountered:
Not sure if this counts as a bug because you are not supposed to mess with siblings of the element being compiled. But the was recently a PR that may allow this to happen: #1788
In the meantime, this can be worked around by ensuring that the directive is the last element of its siblings.
Hey,
I've potentially noticed a bug when using using AngularJs + AngularUI's CodeMirror directive. Using the custom directive seems to be breaking the model's template interpolation on all of the the immediate children after the textarea
The sourcecode for this example is here - I've tried to cut down the example as much as I could
Steps to reproduce:
What I expect to happen
What actually happens
This seems to be present in the following AngularJs versions 1.0.0-1.0.3
Hopefully this is enough information for you guys :)
Cheers
The text was updated successfully, but these errors were encountered: