mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-11 09:52:35 +00:00
Fixed #5968 - Improve utils methods in all packages
This commit is contained in:
parent
3c13918e2b
commit
796edf4c11
123 changed files with 1358 additions and 2700 deletions
|
@ -42,7 +42,7 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { ObjectUtils } from '@primevue/core/utils';
|
||||
import { resolveFieldData } from '@primeuix/utils/object';
|
||||
import SearchIcon from '@primevue/icons/search';
|
||||
import SpinnerIcon from '@primevue/icons/spinner';
|
||||
import IconField from 'primevue/iconfield';
|
||||
|
@ -205,7 +205,7 @@ export default {
|
|||
let matched = false;
|
||||
|
||||
for (let field of searchFields) {
|
||||
let fieldValue = String(ObjectUtils.resolveFieldData(node, field)).toLocaleLowerCase(this.filterLocale);
|
||||
let fieldValue = String(resolveFieldData(node, field)).toLocaleLowerCase(this.filterLocale);
|
||||
|
||||
if (fieldValue.indexOf(filterText) > -1) {
|
||||
matched = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue