[tutorial v1.1_140] Disabled a variable when an other variable are disabled

This commit is contained in:
egarette@silique.fr 2026-06-03 08:50:47 +02:00
parent 97410b3f7f
commit 7fcc3c832f

View file

@ -7,7 +7,7 @@ proxy_dns_socks5:
default: false
disabled:
jinja: |-
{{ _.proxy_mode != "Manual proxy configuration" or _.manual.socks_proxy.version == 'v4' }}
{{ _.manual.socks_proxy.version is propertyerror or _.manual.socks_proxy.version == 'v4' }}
return_type: boolean
description: |-
if "_.proxy_mode" is not "Manual proxy configuration"