Hi All,
I am trying to execute a sql query post change in drop down, below is the code.
select = Select(title=“Select field1:”, value=“foo”, options=Test_list)
def update_data(attrname, old, new):
query2="INSERT INTO test_table (LastName) VALUES ('"+var+"');"
engine.execute(text(query2))
for w in [offset, amplitude, phase, freq,select]:
w.on_change(‘value’, update_data)

