Black Lives Matter. Please consider donating to Black Girls Code today.

Support to OnChange events

Does Dash components have support to add onChange events to components e.g:dropdown?

Example use case: redirect to an external page when selecting certain dropdown option.


You can do this by simply creating a Dash callback with an Input that targets the value property of a Dropdown component. The effect of this type callback is to be triggered when the value changes.

1 Like