Appearance
FilterList
FilterList is a container for the filter list (Checkbox, Toggle). Filters use quark useQuery
.
Props
name
required
Filter list ID - `name` field for form elements.
type:
String
type
Filter list ID - field type `name` for form elements.
type:
String
default:
checkbox
values:
checkbox, toggle
label
Whether the list elements should be in the tag of 'label', so clicking will automatically cause add/removal to/from the list of active filters.
type:
Boolean
default:
true
INFO
All props
from FilterList are transferred to the component of the list element using provide
because these are the elements required there, and they will not change and do not have to be declared for each element of the list separately.
Slots
default
Default slot on the list FilterItem
title
Slot for the title or description of the filters on their list
Lista dla filtrów
FilterItem list
html
<filter-list name="name_of_field">
FilterItem list
</filter-list>
Lista dla filtrów z tytułem
Title or description of the list
FilterItem list
html
<filter-list name="name_of_field">
<template #title>
Title or description of the list
</template>
FilterItem list
</filter-list>