Last updated 2 years ago
Use the following configuration options to bind the Dataset Filter Labels component.
The following creates a filter label with just the query field values. When no filters exist, the label will show -Nothing Selected-.
-Nothing Selected-
new wire.filterLabel().render("#label", { ... valueOnly: true, emptyLabel: "-Nothing Selected-" });
emptyLabel
empty string
The label to show when no filters values exist on a dataset query.
valueOnly
false
Boolean that determines whether the field name is included in the label.