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
Should be reviewed together / with regard to
#222Closes#232
Problems to solve:
- when initializing `FilterState` using FilterPanel API with choices,
when parameter choices limits the number of possible values to select
from, `is_any_filtered` should be set to TRUE to notice that the filter
is applied always, therefore it must appear in the call.
- test could not run due to different errors, mostly `argument
"dataname" missing`
- remove class `InteractiveFilterState` and `FilterState-abstract`, as
they are not needed anymore (fixed filter will be set using `fixed`
parameter)
```
state <- ChoicesFilterState$new(
letters[c(1, 2)],
x_reactive = reactive(NULL),
"test",
"var",
choices = c("a", "b"),
selected = c("a", "b"),
)
shiny::isolate(state$get_state())
state$.__enclos_env__$private$is_choice_limited
state <- ChoicesFilterState$new(
letters,
x_reactive = reactive(NULL),
"test",
"var",
choices = c("a", "b"),
selected = c("a", "b"),
)
shiny::isolate(state$get_state())
state$.__enclos_env__$private$is_choice_limited
```
# Pull Request
Part of #187
---------
Signed-off-by: Marek Blazewicz <110387997+BLAZEWIM@users.noreply.github.com>
Co-authored-by: Blazewicz <blazewim@emea.roche.com>
Co-authored-by: Dawid Kałędkowski <6959016+gogonzo@users.noreply.github.com>
Co-authored-by: Aleksander Chlebowski <114988527+chlebowa@users.noreply.github.com>
Supporting work for #222
#225
The text was updated successfully, but these errors were encountered: