Closed
Description
It looks a bit odd that the FileUpload
counter is increasing every time a file is uploaded, even when multiple=False
is set:
When multiple=False
is set shouldn't the counter equal to 1?
Can be tested with:
from ipywidgets import FileUpload, Output
out = Output()
@out.capture()
def show_content(change):
print(change['new'].keys())
w = FileUpload(multiple=False)
w.observe(show_content, 'value')
with out:
display(w)
out