summaryrefslogtreecommitdiffhomepage
path: root/libs/luci-lib-ip
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2019-09-19 15:40:57 +0200
committerJo-Philipp Wich <jo@mein.io>2019-09-19 15:40:57 +0200
commit25e0b966c72ac56a7f799a5f879cd1ccac4aebfa (patch)
tree9c098fdbe2fdfb9c9e19dcc2612cbc779fe1bacd /libs/luci-lib-ip
parent4dfa657f77183c4add96cfd349721be1ca425a49 (diff)
luci-base: form.js: add support for dynamic default values
Many uci options have different implicit defaults, depending on the values of other related options. A prominent example is the wireless ieee80211w option which defaults to 2, 1 or 0 depending on whether the encryption is set to wpa3-sae, wpa2/wpa2 mixed or any other mode respectively. Add the ability to specify a dictionary of default values and their corresponding dependencies in order to be able to express such configurations. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'libs/luci-lib-ip')
0 files changed, 0 insertions, 0 deletions