luci-app-p910nd: Fix enable default

Enabled setting shall always be present.

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
This commit is contained in:
Paul Donald 2024-05-14 14:14:29 +02:00
parent 728314c4b6
commit 05c6a0887f
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ return view.extend({
s.modaltitle = _('Settings');
o = s.option(form.Flag, 'enabled', _('Enabled'));
o.default = true;
o.rmempty = false;
o = s.option(form.Value, 'device', _('Device'),
_('Note: character device assignment can change upon reboot/reconnect with multiple USB devices.') + '<br />' +