Sets a filter in an active state if and only if the currently selected group is equal to filter's attribute.

observe_filter_active(group, attribute)

Arguments

group

[reactive(character(1))]
Name of a currently selected attribute (if none, empty string).

attribute

[character(1)]
One of interaction attributes, relevant for observed filter.