luci-app-p910nd: retain unchecked value for bidirectionality
Some checks failed
LuCI repo CodeQL Analysis / Analyze JavaScript and JSON (javascript-typescript) (push) Has been cancelled

Some devices might identify incorrectly as having bidi support
so unchecking the option should retain a '0' value.

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
This commit is contained in:
Paul Donald
2026-03-06 18:47:49 +01:00
parent 39b5141855
commit 990e46c851

View File

@@ -142,6 +142,7 @@ return view.extend({
_('Whether this print port is bi-directional.') + '<br />' +
_('Note: USB hotplug correctly detects this.'));
o.modalonly = true;
o.rmempty = false;
o = s.option(form.Flag, 'runas_root', _('Run as root'),
_('Overrides default of %s.').format('<code>user p910nd, group lp</code>'));