From: TGSAN Date: Sat, 6 Sep 2025 11:55:09 +0000 (+0800) Subject: luci-base: standards compliant dropdown fix for mobile keyboards X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=77e01d3d8cf9d2cf66368f4dd02ab691d67654ba;p=project%2Fluci.git luci-base: standards compliant dropdown fix for mobile keyboards Signed-off-by: TGSAN --- diff --git a/modules/luci-base/htdocs/luci-static/resources/ui.js b/modules/luci-base/htdocs/luci-static/resources/ui.js index d58f9519a2..b85c0de329 100644 --- a/modules/luci-base/htdocs/luci-static/resources/ui.js +++ b/modules/luci-base/htdocs/luci-static/resources/ui.js @@ -1092,6 +1092,7 @@ const UIDropdown = UIElement.extend(/** @lends LuCI.ui.Dropdown.prototype */ { 'maxlength': this.options.maxlength, 'placeholder': this.options.custom_placeholder ?? this.options.placeholder, 'inputmode': 'text', + 'enterkeyhint': 'done' }); if (this.options.datatype || this.options.validate)