diff --git a/src/views/datatable/DataTableDoc.vue b/src/views/datatable/DataTableDoc.vue index 84ebec4c4..a3da5fa8a 100755 --- a/src/views/datatable/DataTableDoc.vue +++ b/src/views/datatable/DataTableDoc.vue @@ -840,8 +840,8 @@ app.use(PrimeVue, {
matchModes: [
- {label: 'Starts With', FilterMatchMode.STARTS_WITH},
- {label: 'Contains', FilterMatchMode.CONTAINS},
+ {label: 'Starts With', value: FilterMatchMode.STARTS_WITH},
+ {label: 'Contains', value: FilterMatchMode.CONTAINS},
]
@@ -856,8 +856,8 @@ FilterService.register('myfilter', (a,b) => a === b);
matchModes: [
{label: 'My Filter', "myfilter"},
- {label: 'Starts With', FilterMatchMode.STARTS_WITH},
- {label: 'Contains', FilterMatchMode.CONTAINS},
+ {label: 'Starts With', value: FilterMatchMode.STARTS_WITH},
+ {label: 'Contains', value: FilterMatchMode.CONTAINS},
]