filterMatchModeOptions: Use valid object
With label and value as describedpull/2667/head
parent
bd299170b2
commit
21b124b0c7
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in New Issue