Wiki source code of Switch & CheckBox
Last modified by Achraf El Kari on 2023/08/10 16:26
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
3.2 | 1 | In the Switch & CheckBox component, we find 4 tabs: [[image:a.png]] |
2 | |||
3 | |||
4 | === Switch (CheckBox) Config : === | ||
5 | |||
![]() |
4.4 | 6 | [[image:z.png||style="float:left"]] |
![]() |
4.7 | 7 | |
![]() |
4.2 | 8 | (% style="margin-left:auto; width:500px" %) |
![]() |
3.2 | 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" %)((( | ||
![]() |
10.1 | 16 | ====== ** Label:** ====== |
17 | |||
18 | It consists of two elements: Label and Tooltip | ||
![]() |
3.2 | 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" %)((( | ||
![]() |
11.1 | 23 | ====== ** Input:** ====== |
![]() |
10.1 | 24 | |
![]() |
8.3 | 25 | It consists of two elements |
![]() |
3.2 | 26 | ))) |
![]() |
12.1 | 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. | ||
![]() |
4.7 | 29 | | | |
![]() |
3.2 | 30 | |
![]() |
4.2 | 31 | === === |