I have a low voltage recessed light with a magnetic transformer and low voltage undercabinet lighting with electronic transformers connected to the same switch.
What type of dimmer will work in this situation?

shortcircuit