web_fsearch_reset Shortcode
The web_fsearch_reset shortcode renders a control that clears faceted-search choices.
Usage
[web_fsearch_reset]
Attributes
| Attribute | Default | Accepted values | Purpose |
|---|---|---|---|
label |
— | String unless stated otherwise | Sets the visible control label. |
class |
— | String unless stated otherwise | Adds one or more custom CSS classes to the rendered control. |
mode |
all |
String unless stated otherwise | Sets the mode value consumed by this shortcode. |
include |
— | String unless stated otherwise | Sets the include value consumed by this shortcode. |
exclude |
— | String unless stated otherwise | Sets the exclude value consumed by this shortcode. |
auto_hide |
1 |
String unless stated otherwise | Sets the auto hide value consumed by this shortcode. |
reset_extras |
— | String unless stated otherwise | Sets the reset extras value consumed by this shortcode. |
button_style |
1 |
1 or a configured button-style slug |
Selects a button style defined in the POM design system. |
button_size |
default |
String unless stated otherwise | Selects the rendered button size. |
Faceted search context
Enable and configure Faceted Search in Settings → POM Theme → Content model → Faceted search. Controls, results, and gateways that belong together must use compatible context values.
Verification
Test web_fsearch_reset with the configured Faceted Search context, active selections, no selections and an empty result set. Pay particular attention to label and class.