Open
Description
Describe the bug
Cannot use "bind" option with ListEdit
and TupleEdit
in the main branch version.
See #658 (comment)
To Reproduce
from magicgui import magicgui
@magicgui(x={"bind": [1]})
def func(x: list[int]):
print(x)
func.show(True)
TypeError: ListEdit got an unexpected keyword argument: bind
Expected behavior
"bind" should be processed similarly as other value widgets.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
- OS: Windows
- backend: PyQt5 5.15.10
- magicgui version 0.8.4.dev12+g1479122