In the past, I use node-red-dashboard 1.0 and when I click on a toggle button, it updates all open dashboards. But with version 2.0, I don't know how to make each switch updated with each change.
This is a problem we have at the moment in Dashboard 2.0, we only have the follow-on effects from a switch toggle take effect on all connected Dashboards, rather than reflect the state changed on a single view.
If you set the switch to Not pass through, and select Show State of Input, then if you feed the output back to the input it should do what you want.