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

This commit is contained in:
egarette@silique.fr 2026-04-18 21:48:31 +02:00
parent e2638ce010
commit 8d9067ef15

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"