I am trying to overcome the following protractor 
issue: https://github.com/angular/protractor/issues/698.  The suggested 
work around is to use plain JS to change an input's value.  Works fine, I 
can see it change when I run the protractor test.

HOWEVER - the model does not update.  Is there a way to get angular2 to 
detect the change to the input?  For example, if I am in my angular2 app in 
chrome, open the console, and doe something like:

document.getElementById("my-text-input").value = "Hello, World!";

If my model is bound to that input, I would like it to be updated.  Works 
fine when I normally type text into the input as one would want to do.  But 
for this workaround, I need to use JS.

Thanks.

Mike

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to