From 323c8e4c9236f93610667e38b1db8289002558a4 Mon Sep 17 00:00:00 2001 From: TGSAN Date: Sat, 6 Sep 2025 19:55:09 +0800 Subject: [PATCH] luci-base: standards compliant dropdown fix for mobile keyboards Signed-off-by: TGSAN (cherry picked from commit 77e01d3d8cf9d2cf66368f4dd02ab691d67654ba) --- modules/luci-base/htdocs/luci-static/resources/ui.js | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/luci-base/htdocs/luci-static/resources/ui.js b/modules/luci-base/htdocs/luci-static/resources/ui.js index 7e5bf8a4a2..f997093197 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) -- 2.30.2