Skip to content

Commit b293f61

Browse files
author
pablohpsilva
committed
renamed file
1 parent a7f4c9d commit b293f61

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/components/mdInputContainer/mdAutocomplete.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
</template>
3232

3333
<script>
34-
import autocompleteCommon from '../../core/utils/autocomplete-commons';
34+
import autocompleteCommon from '../../core/utils/autocomplete-common';
3535
import common from './common';
3636
import getClosestVueParent from '../../core/utils/getClosestVueParent';
3737

src/core/utils/autocomplete-commons.js renamed to src/core/utils/autocomplete-common.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ export default {
4444
verifyProps() {
4545
if (!this.parentContainer) {
4646
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) {
4848
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) {
5050
return this.throwErrorDestroy('You should use a `fetch` function prop');
5151
}
5252
},

0 commit comments

Comments
 (0)