CheckboxDisableInputsController
Purpose
Disable other inputs if a checkbox is ticked.
| Target | Purpose | Default |
|---|
disabler | The checkbox that will disable other inputs when it is checked, and enable them when it is not checked | - |
disable | The input(s) that will be disabled when the disablerTarget is checked | - |
| Value | Type | Description | Default |
|---|
clear | Boolean | Whether the controller should clear the targeted inputs when they become disabled | false |
Events
| Event | When | Dispatched on | event.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