diff --git a/src/components/mdChips/mdChips.vue b/src/components/mdChips/mdChips.vue index 2831f62..1d92ba4 100644 --- a/src/components/mdChips/mdChips.vue +++ b/src/components/mdChips/mdChips.vue @@ -23,6 +23,7 @@ @keydown.native.prevent.enter="addChip" @keydown.native.prevent.186="addChip" tabindex="0" + :debounce="0" ref="input"> diff --git a/src/components/mdInputContainer/mdInputContainer.vue b/src/components/mdInputContainer/mdInputContainer.vue index aa3ef1a..3165912 100644 --- a/src/components/mdInputContainer/mdInputContainer.vue +++ b/src/components/mdInputContainer/mdInputContainer.vue @@ -4,11 +4,11 @@ {{ inputLength }} / {{ counterLength }} - + {{ showPassword ? 'visibility_off' : 'visibility' }} - + clear diff --git a/src/components/mdTable/mdTablePagination.vue b/src/components/mdTable/mdTablePagination.vue index 5fa47d3..e2d12f0 100644 --- a/src/components/mdTable/mdTablePagination.vue +++ b/src/components/mdTable/mdTablePagination.vue @@ -2,7 +2,7 @@
{{ mdLabel }}: - + {{ amount }} @@ -26,7 +26,10 @@ type: [Number, String], default: 10 }, - mdPageOptions: [Array, Boolean], + mdPageOptions: { + type: [Array, Boolean], + default: () => [10, 25, 50, 100] + }, mdPage: { type: [Number, String], default: 1 @@ -110,8 +113,11 @@ }, mounted() { this.$nextTick(() => { - this.mdPageOptions = this.mdPageOptions || [10, 25, 50, 100]; - this.currentSize = this.mdPageOptions.includes(this.currentSize) ? this.currentSize : this.mdPageOptions[0]; + if (this.mdPageOptions) { + this.currentSize = this.mdPageOptions.includes(this.currentSize) ? this.currentSize : this.mdPageOptions[0]; + } else { + this.currentSize = 0; + } this.canFireEvents = true; }); }