insightsengineering / insightsengineering/teal.transform
data_extract_spec objects should have an optional submit button to prevent needless re-render
Open
core
discussion
- Dominant language
- R
- Stars
- 2
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
proposal:
```r
data_extract_spec(
dataname,
select = NULL,
filter = NULL,
reshape = FALSE,
sub_btn = FALSE,
)
```
When `sub_btn = TRUE`, then the output will listen to the `actionButton` rather than the changes to any of the `selectInputs`.

For example, If user will need to select 10 different values to filter in a filter_spec, that would be 10 needless re-renders of the output. A submit button will solve this.
Provenance:
```
Creator: junlue
```
Contributor guide
Assessment
This issue has not been assessed yet.