I use togglefield in my ExtJS 6.7 application (modern, material).

When I set the readOnly to true, we can turn it on or off by using the mouse (clicking on the cercle and moving left or right).
...