diff --git a/package.json b/package.json index 03c80776eb..99b2f6dd0e 100644 --- a/package.json +++ b/package.json @@ -20,6 +20,7 @@ "lint": "eslint --ext .js,.vue src", "lint:fix": "eslint --ext .js,.vue src --fix", "test": "jest --verbose", + "test:coverage": "jest --verbose --coverage --no-cache", "stylelint": "stylelint src/**/*.vue src/**/*.scss src/**/*.css", "stylelint:fix": "stylelint src/**/*.vue src/**/*.scss src/**/*.css --fix", "styleguide": "vue-styleguidist server", diff --git a/src/components/MultiselectTags/MultiselectTags.vue b/src/components/MultiselectTags/MultiselectTags.vue index ad7759618a..684ae42a77 100644 --- a/src/components/MultiselectTags/MultiselectTags.vue +++ b/src/components/MultiselectTags/MultiselectTags.vue @@ -61,6 +61,27 @@ export default { } ``` + +## Custom filter +Because of compatibility reasons only 5 tag entries are shown by default. If you want to show all available tags set the `filter` function-prop to `null`: +```vue + +``` + +It's also possible to apply any custom filter logic by setting the `filter` function-prop to any custom function receiving the tag element and the index: +```vue + +```