Can CSS be used to deactivate clicks on checkboxes while still maintaining their functionality for dynamically setting values using Javascript? I have not been able to find a suitable solution.
pointer-events:none
Unfortunately, this did not work as expected.