checkbox.comp
The Checkbox is commonly used when more than one option may need to be selected.
Checking the box enables that option and unchecking it disables it.
Input Parameters:
Parameters
Parameter Name |
Description |
Default Value |
description |
Tooltip. |
Empty string. |
id |
Select ID. |
Undefined. |
value |
change read/write |
Empty string. |
readonly |
can't change state if in readonly mode |
Undefined. |
Examples
Demo
The demonstration of the demo is available
here.
Readonly
here set "readonly => 1" to change state in readonly mode
<& /input/checkbox.comp,
id => 'test2',
readonly =>1,
value => 1,
description => 'ReadOnly'
&>
Write
Default
readony
is
undef
. We can remove the parameter.
<& /input/checkbox.comp,
id => 'test1',
value => 0,
description => 'ReadWrite'
&>