diff --git a/modules/luci-base/htdocs/luci-static/resources/ui.js b/modules/luci-base/htdocs/luci-static/resources/ui.js index 706cc7f13b19..f65da1211dce 100644 --- a/modules/luci-base/htdocs/luci-static/resources/ui.js +++ b/modules/luci-base/htdocs/luci-static/resources/ui.js @@ -1090,6 +1090,7 @@ const UIDropdown = UIElement.extend(/** @lends LuCI.ui.Dropdown.prototype */ { 'multiple': this.options.multiple ? '' : null, 'optional': this.options.optional ? '' : null, 'disabled': this.options.disabled ? '' : null, + 'data-widget-id': this.options.id ? `widget.${this.options.id}` : null, 'tabindex': -1 }, E('ul'));