You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Text() causes run of @interact_manual decorated function on focus change ; but Textarea() does not
Reproduce
@interact_manualdefdoitdoitnow(arg=Textarea('arg')):
print('u ran me')
when you change focus from the Textarea the function will not be invoked
@interact_manualdefdoitdoitnow(arg=Text('arg')):
print('u ran me')
when you change focus from the Text the function will be invoked
because Text() is the default for any string arguments it is also the case that any string arguments in a @interact_manual decorated function will get run when focus changes away from the automatically generated widget.
Expected behavior
For all functions decorated with @interact_manual the behaviour should be to ONLY execute the function when the button is pushed.
Description
Text() causes run of @interact_manual decorated function on focus change ; but Textarea() does not
Reproduce
when you change focus from the Textarea the function will not be invoked
when you change focus from the Text the function will be invoked
because Text() is the default for any string arguments it is also the case that any string arguments in a @interact_manual decorated function will get run when focus changes away from the automatically generated widget.
Expected behavior
For all functions decorated with @interact_manual the behaviour should be to ONLY execute the function when the button is pushed.
Context
Troubleshoot Output
Installed Labextensions
The text was updated successfully, but these errors were encountered: