diff --git a/paper-input-decorator.html b/paper-input-decorator.html
index 6c21877..867c3e6 100644
--- a/paper-input-decorator.html
+++ b/paper-input-decorator.html
@@ -23,6 +23,8 @@
+If there is no input or textarea child element, paper-input-decorator will search the shadow dom for the input or textarea.
+
Theming
-------
@@ -318,10 +320,10 @@
},
attached: function() {
- this.input = this.querySelector('input,textarea');
+ this.input = this.querySelector('input, textarea, #input /deep/ input, #input /deep/ textarea');
this.mo = new MutationObserver(function() {
- this.input = this.querySelector('input,textarea');
+ this.input = this.querySelector('input, textarea, #input /deep/ input, #input /deep/ textarea');
}.bind(this));
this.mo.observe(this, {childList: true});
},