The new long_callback decorator allow multiple inputs?

Hey guys,

I was playing with the @long_callback decorator because I’m trying to implement a button that will be disabled and with a different text when the engine is running;

I did understand how to create the component exactly how I need it, but once I went to add the other inputs it doesn’t accept the new inputs;

On the documentation, I didn’t find any multiple-input examples, so I was wondering if it’s possible to have more than one entry on this decorator;

Thank you very much for any help;


I finally understood how to implement it

When using more than one argument we need to set the same name on both args and function parameters

1 Like