Highlight Text Programmatically in Polymer Paper Input

Viewed 1296

I have several polymer paper-input elements on a polymer app. When one of these elements is focused, I'd like the text input of the input be highlighted (like this) so that if a user just starts typing, the existing value of the input is overwritten.

Is there a way to highlight the text programmatically on focus?

2 Answers
Related