Commit graph

6 commits

Author SHA1 Message Date
451c33a3cb [tutorial 025] Conditional hidden family and calculated default value
Add a sub family "https_proxy" which will be hidden if "use_for_https" is True.

Hidden means that we cannot change value, but we can access to it in read only mode. Inside, we add two variable with calculated default value (with variable type).

So, if user set "use_for_https" to True, the default values of HTTPS configuration will be a copy of HTTP values. The use can change HTTPS values if needed.

If user set "use_for_https" to False, the default values of HTTPS configuration will only be a copy of HTTP values.
2024-09-07 19:06:47 +02:00
58e7ff0780 [tutorial 024] Conditional hidden family and calculated default value
Add a sub family "https_proxy" which will be hidden if "use_for_https" is True.

Hidden means that we cannot change value, but we can access to it in read only mode. Inside, we add two variable with calculated default value (with variable type).

So, if user set "use_for_https" to True, the default values of HTTPS configuration will be a copy of HTTP values. The use can change HTTPS values if needed.

If user set "use_for_https" to False, the default values of HTTPS configuration will only be a copy of HTTP values.
2024-09-07 19:06:46 +02:00
57640cb47d [tutorial 023] Conditional hidden family and calculated default value
Add a sub family "https_proxy" which will be hidden if "use_for_https" is True.

Hidden means that we cannot change value, but we can access to it in read only mode. Inside, we add two variable with calculated default value (with variable type).

So, if user set "use_for_https" to True, the default values of HTTPS configuration will be a copy of HTTP values. The use can change HTTPS values if needed.

If user set "use_for_https" to False, the default values of HTTPS configuration will only be a copy of HTTP values.
2024-09-07 19:06:45 +02:00
22376999bb [tutorial 022] A variable in "shorthand" mode
Transform it in "shorthand" mode.

In this notation we can only define:

- name
- default value (so deduct the type)
- description
2024-09-07 19:06:44 +02:00
a1d82f1d56 [tutorial 021] Bases type is optional if default value
The type is deduct with the default value type. This is only true for "string", "number", "float" or "boolean" variables.
2024-09-07 19:06:43 +02:00
a6eb552218 [tutorial 020] A boolean variable
Let's create a boolean variable.
2024-09-07 19:06:42 +02:00