how do I use sidebars/toolboxes for input? #8574
Unanswered
lostmygithubaccount
asked this question in
Q&A
Replies: 2 comments 11 replies
-
found an example here I believe: https://github.com/quarto-dev/quarto-web/blob/8dac33b1e847a06215d07f5a0b31b52052672cd3/docs/dashboards/_inputs.qmd#L71C1-L76 |
Beta Was this translation helpful? Give feedback.
10 replies
-
FWIW, there are two examples in the gallery: https://quarto.org/docs/gallery/#dashboards
And: https://shiny.posit.co/py/docs/shinylive.html As of today, the only thing that does not seem to support ---
title: "Quarto Playground"
format: html
filters:
- shinylive
---
```{shinylive-python}
# | standalone: true
from shiny import *
app_ui = ui.page_fluid(
ui.input_slider("n", "N", 0, 100, 40),
ui.output_text_verbatim("txt"),
)
def server(input, output, session):
@output
@render.text
def txt():
return f"The value of n*2 is {input.n() * 2}"
app = App(app_ui, server)
``` |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
The examples here are all empty: https://quarto.org/docs/dashboards/inputs.html
I just need a few text/single select inputs for a dashboard I'm using. see code below
Beta Was this translation helpful? Give feedback.
All reactions