Filters API
API reference docs for the Stash Filters
component. Learn about the props, CSS, and other APIs of this exported module.
Import
ts
import Filters from '@leaflink/stash/Filters.vue';
Props
Name | Type | Default | Description |
---|---|---|---|
disableApply | boolean | - | Whether to disable the Apply button |
disableClear | boolean | - | Whether to disable the Clear button |
disablePersistency | boolean | - | Whether to disable the sticky filters If disabled, a default pre-selected value(s) can be added to the filter component's attributes |
schema | array | [] | Filters schema |
validationSchema | func | () => () => undefined | Validation schema function that returns an object |
Slots
None
Events
Name | Description |
---|---|
change | |
submit | |
reset |