Wiki source code of Switch & CheckBox
Version 5.1 by Achraf El Kari on 2023/08/10 16:20
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | In the Switch & CheckBox component, we find 4 tabs: [[image:a.png]] | ||
2 | |||
3 | |||
4 | === Switch (CheckBox) Config : === | ||
5 | |||
6 | [[image:z.png||style="float:left"]] | ||
7 | |||
8 | (% style="margin-left:auto; width:500px" %) | ||
9 | |=(% style="text-align: center; vertical-align: middle;" %)((( | ||
10 | ===== **Type Element** ===== | ||
11 | )))|=(% style="text-align: center; vertical-align: middle;" %)((( | ||
12 | ===== **Description** ===== | ||
13 | ))) | ||
14 | |**Data: Key**|We have the 'Key' field to define the data type associated with this Switch(CheckBox) field. It is also possible to manually enter a key if the form is not associated with a tracking type. | ||
15 | |(% colspan="2" %)((( | ||
16 | ====== Label: ====== | ||
17 | |||
18 | It consists of two elements: Label and Tooltip | ||
19 | ))) | ||
20 | |**Label**|It is used to provide a description or indication of the type of information expected in the Switch(CheckBox). | ||
21 | |**//Tooltip//**|A tooltip is a small element that provides additional information or contextual hints when a user hovers over a specific element. | ||
22 | |(% colspan="2" %)((( | ||
23 | ====== Input: ====== | ||
24 | |||
25 | It consists of two elements | ||
26 | ))) | ||
27 | |Default Checked|Refers to the initial state of a Switch (checkbox) input element where the checkbox is pre-selected or "checked" by default when the page or interface is loaded | ||
28 | |Disabled|When the element is disabled, it typically appears visually distinct (e.g., grayed out) to indicate that it is not available for interaction. | ||
29 | | | | ||
30 | |||
31 | === === |