Open lanceupton opened 1 year ago
Fortunately, the workaround for this is simple. The conductor just needs to fallback to the source if the input
object isn't available. Others experiencing this issue might consider using the following:
excel_data <- reactive(if (!is.null(input$tab1)) excel_to_R(input$tab1) else input_data())
Facing similar issues, the table is not appearing when deploying to posit connect but works locally
Description
The
input
object corresponding to anexcelOutput
is not available after the initial render of the table, and before making any modifications to the table, or invalidating. It's almost like the input isn't binded until the output is invalidated at least once.To Reproduce
In the included reprex:
Invalidate Input
button to invalidate theexcelOutput
block.excelOutput
renders.datatableOutput
(which simply conducts the input object from theexcelTable
), does not render. This is a side effect of the input object not being available.Invalidate Input
button to invalidate theexcelOutput
block again.Reprex
Client Info
Session Info