Index: sky/examples/flights-app/app-search-input.sky |
diff --git a/sky/examples/flights-app/app-search-input.sky b/sky/examples/flights-app/app-search-input.sky |
index f87953aa80d1f1f4e4066ea0e1125ab24f84f24b..32bc810f65874b9ea35acb0d05a12dfbbb3910f2 100644 |
--- a/sky/examples/flights-app/app-search-input.sky |
+++ b/sky/examples/flights-app/app-search-input.sky |
@@ -22,6 +22,11 @@ |
</template> |
<script> |
module.exports = class extends SkyElement { |
+ attached() { |
+ var sel = window.getSelection(); |
+ var input = this.shadowRoot.querySelector('t'); |
+ sel.selectAllChildren(input); |
+ } |
}.register(); |
</script> |
</sky-element> |