我正在尝试为我创建并存储在 arangoDB 中的文本区域元素创建破折号动态回调,然后能够在输入时打印文本区域的值。
目前,它只返回存储在 arangoDB 中的文本,不会打印我在文本区域中输入的内容
@callback(
Output('container2', 'children'),
Input(component_id={'element-type': "html.Textarea", 'element-key': ALL, },
component_property='children'),
)
def update_output(text):
print(text)