You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/WebflowOnly/CMSFilter.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,7 +54,7 @@ Add the script to your Webflow project and include the required attributes on yo
54
54
#### Additional Elements
55
55
-`wt-cmsfilter-element="results-count"` - Shows the number of filtered results
56
56
-`wt-cmsfilter-element="empty"` - Element shown when no results are found
57
-
-`wt-cmsfilter-empty-max="n"` - Optional on the empty element; shows empty block when filtered results are ≤ n (default: 0, so only when zero results; e.g. `wt-cmsfilter-empty-max="3"` shows at 3 or fewer)
57
+
-`wt-cmsfilter-empty-max="n"` - Optional on the empty element; accepts positive whole integers only (`1+`) and shows empty block when filtered results are ≤ n. Missing, `0`, or invalid values default to `0` (show only when there are zero results; e.g. `wt-cmsfilter-empty-max="3"` shows at 3 or fewer). Valid: `1`, `2`, `3`. Invalid: `0`, `3.5`, `3px`, `-1`, `abc`.
58
58
-`wt-cmsfilter-element="clear-all"` - Button to clear all active filters
59
59
-`wt-cmsfilter-element="sort-options"` - Select element for sorting options
60
60
-`wt-cmsfilter-element="tag-template"` - Template for active filter tags
0 commit comments