Make it harder to deselect yourself

This commit is contained in:
Jason Zimdars
2025-10-30 11:49:27 -05:00
parent 30d70429e9
commit cba945104a
@@ -24,6 +24,7 @@ export default class extends Controller {
checkNone() {
this.checkboxTargets.forEach(checkbox => {
if (checkbox.dataset.collectionsFormTarget === "meCheckbox") return
checkbox.checked = false
})
}