How can I set a default value for a toggle

I had some success with

However that only worked with refinementList widget and hid all the other options. I wasn’t able to make it work with toggle widget.

I am looking to initialize a toggle to be true on first load.