enable md-file inside input container

This commit is contained in:
Marcos Moura 2016-12-28 04:03:09 -02:00
parent 16f589a570
commit a07242675c
2 changed files with 4 additions and 2 deletions

View file

@ -30,7 +30,9 @@
<div slot="example">
<example-box card-title="Default">
<div slot="demo">
<md-file></md-file>
<md-input-container>
<md-file></md-file>
</md-input-container>
</div>
<div slot="code">

View file

@ -80,7 +80,7 @@
}
},
mounted() {
this.input = this.$el.querySelectorAll('input, textarea, select')[0];
this.input = this.$el.querySelectorAll('input, textarea, select, .md-file')[0];
if (!this.input) {
this.$destroy();