Skip to content

Instantly share code, notes, and snippets.

@shkiefer
Created January 2, 2022 01:33
Show Gist options
  • Save shkiefer/6ade2ba858acccb2700c25447ab4f4d5 to your computer and use it in GitHub Desktop.
Save shkiefer/6ade2ba858acccb2700c25447ab4f4d5 to your computer and use it in GitHub Desktop.
dbc.Row([
dbc.Col([
dbc.Label('Select Example', html_for="dropdown"),
dcc.Dropdown(
id=f'{APP_ID}_example_dropdown',
options=[
{'label': 'simple_bar', 'value': 'simple_bar'},
{'label': 'msup_transient', 'value': 'msup_transient'},
{'label': 'static', 'value': 'static'},
],
clearable=False,
),
dbc.Label('Select Time / Frequency', html_for="dropdown"),
dcc.Dropdown(
id=f'{APP_ID}_example_tf_dropdown',
options=[],
value=None,
clearable=False
)
]),
dbc.Col([
dbc.Label('Select Result', html_for="dropdown"),
dcc.Dropdown(
id=f'{APP_ID}_example_result_dropdown',
options=[],
value=None,
clearable=False
),
dbc.Label('Select Component', html_for="dropdown"),
dcc.Dropdown(
id=f'{APP_ID}_example_comp_dropdown',
options=[{'label': 0, 'value': 0}],
value=0,
clearable=False,
disabled=True
)
]),
dbc.Col(
dbc.Button(
'Plot Results',
id=f'{APP_ID}_plot_button',
style={'height':'80%', 'width':'80%'},
class_name='h-50'
),
align="center"
)
]),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment