Skip to main content

CheckboxDisableInputsController

Purpose

Disable other inputs if a checkbox is ticked.

Actions

ActionPurpose
--

Targets

TargetPurposeDefault
disablerThe checkbox that will disable other inputs when it is checked, and enable them when it is not checked-
disableThe input(s) that will be disabled when the disablerTarget is checked-

Classes

ClassPurposeDefault
---

Values

ValueTypeDescriptionDefault
clearBooleanWhether the controller should clear the targeted inputs when they become disabledfalse

Events

EventWhenDispatched onevent.detail
----

Side Effects

None

How to Use

Example - when creating an event that can have the end_time turned off with a boolean:

See also

CheckboxEnableInputsController EnableInputsController