Merge pull request #2667 from rubjo/patch-1

Documentation quickfix: filterMatchModeOptions: Use valid object
pull/2700/head
Tuğçe Küçükoğlu 2022-06-19 16:31:26 +03:00 committed by GitHub
commit 7a38d05b7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -840,8 +840,8 @@ app.use(PrimeVue, {
<pre v-code.script><code>
matchModes: [
{label: 'Starts With', FilterMatchMode.STARTS_WITH},
{label: 'Contains', FilterMatchMode.CONTAINS},
{label: 'Starts With', value: FilterMatchMode.STARTS_WITH},
{label: 'Contains', value: FilterMatchMode.CONTAINS},
]
</code></pre>
@ -856,8 +856,8 @@ FilterService.register('myfilter', (a,b) => a === b);
<pre v-code.script><code>
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},
]
</code></pre>