Hello,
I’d like to make a complex page which allows me to read text/options from inputs. First of all I’d like to make a button that invoke a method and pass text from textarea after click on it. This is my code, I don’t want send anything to output. How to do it?
management_page= html.Div([
dcc.Input(id='name',placeholder='Enter a value...',type='text',value=''),
html.Button(id='button',value='Click')
])
@app.callback(Output(),[Input('button','value')],
)
def addNew(value):
addTab(str(value))