Setting the selection in any way steals the focus, which is bad for the demo I had with one input using ng-model and the other using binding 'value', so I disabled it for now. setSelectionRange specifically says it shouldn't steal focus, so this could be a dart:html bug.