diff --git a/components/lib/api/FilterService.js b/components/lib/api/FilterService.js index ea2c6d7d3..1fb8b05cc 100644 --- a/components/lib/api/FilterService.js +++ b/components/lib/api/FilterService.js @@ -3,6 +3,7 @@ import { ObjectUtils } from 'primevue/utils'; const FilterService = { filter(value, fields, filterValue, filterMatchMode, filterLocale) { let filteredItems = []; + if (!value) { return filteredItems; } diff --git a/doc/common/apidoc/index.json b/doc/common/apidoc/index.json index 8680abbb4..cb9026aaa 100644 --- a/doc/common/apidoc/index.json +++ b/doc/common/apidoc/index.json @@ -55605,4 +55605,4 @@ } } } -} \ No newline at end of file +}