rougail-tutorials/firefox
Emmanuel Garette 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
..
00-proxy.yml [tutorial 007] Choice type is optional 2024-09-07 19:06:32 +02:00
10-manual.yml [tutorial 018] Family in "shorthand" mode 2024-09-07 19:06:40 +02:00
20-manual.yml [tutorial 023] Conditional hidden family and calculated default value 2024-09-07 19:06:45 +02:00