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
I think that `update_toggle_slider` should update only `state` and then `state` change should update slider and numeric inputs. I think there should be only one input rendered and `if (input$toggle %% 0)` should be placed in the `renderUI` - this would avoid a need to update two inputs in the same time.
Closes#321
Changes:
1. The `toggle_slider_ui` and `toggle_slider_server` can only be used to
create dichotomous slider now. There was no instance of single value
slider created. So, there is no need to create it and increase the
complexity.
2. Removal of the `keep_range_slider_updated` in favor of
`keep_slider_state_updated` to keep the states updated based on other
widget inputs.
3. Updated the modules that uses this widget. Note that the
`tm_g_gh_lineplot` does not use the `keep_slider_state_updated` and
directly updates the state reactiveValues.
Check all the modules that use the `toggle_slider` module:
- [ ] `tm_g_gh_boxplot`
- [ ] `tm_g_gh_correlationplot`
- [ ] `tm_g_gh_density_distribution_plot`
- [ ] `tm_g_gh_lineplot`
- [ ] `tm_g_gh_spaghettiplot`
- [ ] `tm_g_gh_scatterplot `(deprecate in favor of
`tm_g_gh_correlationplot`)
---------
Co-authored-by: go_gonzo <[email protected]>
Originally posted by @gogonzo in #319 (comment)
The text was updated successfully, but these errors were encountered: