File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
components/mdInputContainer Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 31
31
</template >
32
32
33
33
<script >
34
- import autocompleteCommon from ' ../../core/utils/autocomplete-commons ' ;
34
+ import autocompleteCommon from ' ../../core/utils/autocomplete-common ' ;
35
35
import common from ' ./common' ;
36
36
import getClosestVueParent from ' ../../core/utils/getClosestVueParent' ;
37
37
Original file line number Diff line number Diff line change @@ -44,9 +44,9 @@ export default {
44
44
verifyProps ( ) {
45
45
if ( ! this . parentContainer ) {
46
46
return this . throwErrorDestroy ( 'You should wrap the md-input in a md-input-container' ) ;
47
- } else if ( ! this . listIsEmpty && this . filterList ) {
47
+ } else if ( this . listIsEmpty && this . filterList ) {
48
48
return this . throwErrorDestroy ( 'You should use a `filterList` function prop with the `list` prop' ) ;
49
- } else if ( ! this . fetch ) {
49
+ } else if ( ! this . fetch && this . listIsEmpty ) {
50
50
return this . throwErrorDestroy ( 'You should use a `fetch` function prop' ) ;
51
51
}
52
52
} ,
You can’t perform that action at this time.
0 commit comments