Wiki source code of Switch & CheckBox
Version 3.2 by Achraf El Kari on 2023/08/10 16:12
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 | (% style="height:600px; margin-left:auto; width:470px" %) | ||
7 | |=(% style="text-align: center; vertical-align: middle;" %)((( | ||
8 | ===== **Type Element** ===== | ||
9 | )))|=(% style="text-align: center; vertical-align: middle;" %)((( | ||
10 | ===== **Description** ===== | ||
11 | ))) | ||
12 | |**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. | ||
13 | |(% colspan="2" %)((( | ||
14 | ====== Label: ====== | ||
15 | |||
16 | It consists of two elements: Label and Tooltip | ||
17 | ))) | ||
18 | |**Label**|It is used to provide a description or indication of the type of information expected in the Switch(CheckBox). | ||
19 | |**//Tooltip//**|A tooltip is a small element that provides additional information or contextual hints when a user hovers over a specific element. | ||
20 | |(% colspan="2" %)((( | ||
21 | ====== Input: ====== | ||
22 | |||
23 | It consists of two elements | ||
24 | ))) | ||
25 | |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 | ||
26 | |Disabled|When the element is disabled, it typically appears visually distinct (e.g., grayed out) to indicate that it is not available for interaction. | ||
27 | |||
28 | === [[image:z.png]] === | ||
29 | |||
30 |