✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
⚡️ Concerned about the grid? Kyle Baranko teaches how to predicting peak loads using XGBoost. Register for the August webinar!

Callback with multiple 'Output' components

Is it possible to have two or more Output in a callback?

For instance, I have a text field and numeric field. When I change any value in numeric field the callback is being executed which is as per the requirement. However, when I change a value in text field it should update value both in text field and also numeric field.

How do I design a callback for this model?
Any suggestions how to achieve this?

Thank you.

Dash does not currently support multiple Outputs per callback. There is however work in progress to add this feature to Dash. You can track progress here.

Oh I should also add that you can workaround this by defining multiple callback functions, one per output you need, as described in the Dash Guide.

Thank you, for sharing a workaround. I will check this shortly.