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
id Select ID. Undefined.
description Tooltip. Empty string.
value change read/write Empty string.
readonly can't change state if in readonly mode Undefined.

Examples

Demo

checkbox_example.png

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'
&>
Topic revision: r10 - 21 Sep 2016, JanezStangelj
This site is powered by FoswikiCopyright (©) Leader.IT - Italy P.I. IT01434390223 Privacy policy & use of cookies