Resets all inputs created by uniform_lines_inputs_ui() to their default
values. Call inside an observeEvent(input$reset, ...) block to avoid
duplicating line-reset boilerplate in every module server.
Arguments
- session
The Shiny session object (from
moduleServer).- include.fit.lines
Logical; if TRUE, also resets the fit-line inputs (best.fit, line.best.smoothness, line.best.colour, linear.model). Default is FALSE.
- defaults
A named list of default values to reset to, or NULL to use hardcoded fallbacks. Typically the same list passed to the UI function.