luci-base: cbi.js: fix passing multiple dropdown values in change event
Due to a misspelled property name, only the first value was passed in
the event details.
Fixes: c2b570998
("luci-base: cbi.js: rework dropdown implementation")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
parent
10838c3660
commit
a453f2b9d0
1 changed files with 1 additions and 1 deletions
|
@ -1754,7 +1754,7 @@ CBIDropdown = {
|
|||
element: sb
|
||||
};
|
||||
|
||||
if (this.mult)
|
||||
if (this.multi)
|
||||
detail.values = values;
|
||||
else
|
||||
detail.value = values.length ? values[0] : null;
|
||||
|
|
Loading…
Reference in a new issue