insightsengineering / insightsengineering/teal.slice

`ChoicesFilterState` loses data class

Open
#386 0 comments 0 reactions 0 assignees View on GitHub
bug core
Dominant language
R
Stars
12
Forks
7
Avg merge
3d 31m
Merged PRs (30d)
1

Description

`ChoicesFilterState` is used for all data classes if the number of unique values in the data is less than the option.
Selected values are actually stored as character strings.`$get_call` restores that class but `get_state` does not. This is not a problem yet but will be once we start saving and reloading `teal_slice`s.

Ensure that the selected values stored in `private$teal_slice` are of the appropriate class.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.