1
我想用兩個numericInputs(一個& b)創建一個輸入面板。 numericInput b的最大值需要來自numericInput a的值。
---
title: "test input"
runtime: shiny
output: html_document
---
```{r, echo = FALSE}
inputPanel(
numericInput("a", "A", 80,
min = 1, max = 100),
numericInput("b", "B", 15,
min = 1, max = input$a)
)
```
這給了錯誤:
Operation not allowed without an active reactive context.