diff options
author | Jo-Philipp Wich <jo@mein.io> | 2019-09-19 15:40:57 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2019-09-19 15:40:57 +0200 |
commit | 25e0b966c72ac56a7f799a5f879cd1ccac4aebfa (patch) | |
tree | 9c098fdbe2fdfb9c9e19dcc2612cbc779fe1bacd /modules/luci-mod-failsafe | |
parent | 4dfa657f77183c4add96cfd349721be1ca425a49 (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 'modules/luci-mod-failsafe')
0 files changed, 0 insertions, 0 deletions