Merge pull request #5312 from boretom/app-ledtrig-usbport

luci-app-ledtrig-usbport: fix allow multiple selection
This commit is contained in:
Florian Eckert 2021-08-30 13:15:36 +02:00 committed by GitHub
commit ab2f8b8b04
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,7 +16,7 @@ return baseclass.extend({
addFormOptions(s){ addFormOptions(s){
var o; var o;
o = s.option(form.Value, 'port', _('USB Ports')); o = s.option(form.MultiValue, 'port', _('USB Ports'));
o.depends('trigger', 'usbport'); o.depends('trigger', 'usbport');
o.rmempty = true; o.rmempty = true;
o.modalonly = true; o.modalonly = true;