Black Lives Matter. Please consider donating to Black Girls Code today.
Dash HoloViews is now available! Check out the docs.

Input from Dynamically created textboxes

Hi, I created a dynamic layout using dropdown selection and a callback which has text boxes. I want to get the input from the text boxes to do some plots which is not working .
@app.callback(dash.dependencies.Output(‘output-container’, ‘children’),
[dash.dependencies.Input(‘my_dropdown’, ‘value’)])
def update_output(value):
if (cond…)
d = html.Div(children=[
html.P(’’),
html.Div(dcc.Input(id=’’, value=1,
type=‘int’)),
html.P(’’),
html.Div(dcc.Input(id=’’, value=,
type=’’)),
])
elif codn :
d = html.Div(children=[
html.P(’’),
html.Div(dcc.Input(id=’’, value=1,
type=‘int’)),
html.P(’’),
html.Div(dcc.Input(id=’’, value=,
type=’’)),
])
else :
d = html.Div(children=[
html.P(’’),
html.Div(dcc.Input(id=’’, value=1,
type=‘int’)),
html.P(’’),
html.Div(dcc.Input(id=’’, value=,
type=’’)),
])
return d

@app.callback(dash.dependencies.Output(component_id=‘output’,component_property=‘children’),
[dash.dependencies.Input(component_id=‘my_dropdown’, component_property=‘value’),
dash.dependencies.Input(component_id=’’, component_property=‘value’),
dash.dependencies.Input(component_id=’’, component_property=‘value’),
dash.dependencies.Input(component_id=’’, component_property=‘value’),
dash.dependencies.Input(component_id=’’, component_property=‘value’),
dash.dependencies.Input(component_id=’’, component_property=‘value’),
dash.dependencies.Input(component_id=’’, component_property=‘value’)])

def dist(my_dropdown,r,prob,n,p,lam,number):
if ()
return (some graph )
elif return(some graph)
else return (some graph)
Text boxes are getting vreated but the text in the boxes I am unable to access in the next call back. I am new to Dash can anyone help me on this.