diff options
author | Sergey Ponomarev <stokito@gmail.com> | 2024-01-19 19:47:58 +0200 |
---|---|---|
committer | Sergey Ponomarev <stokito@gmail.com> | 2024-01-23 09:29:12 +0200 |
commit | a4fd238ab2e5312fe549f76dbe4a63912b43a3fb (patch) | |
tree | 5da2d50ec5fbb24dc4f6e2fd75d0d6c9945cdd7f /modules/luci-compat/Makefile | |
parent | b18960f60057c1915ff48f70431cf076e6cba66b (diff) |
luci-base: FlagValue fix type of enabled and disabled properties
The form.Flag checkbox allows to specify a value for enabled/disabled e.g. for a dropbear:
o = s.option(form.Flag, 'PasswordAuth');
o.enabled = 'on';
So the property type should be a string but not just a number.
Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
Diffstat (limited to 'modules/luci-compat/Makefile')
0 files changed, 0 insertions, 0 deletions