From e818b8e3e81cd444db006cb5f65b9af5b6ab5919 Mon Sep 17 00:00:00 2001 From: Ramon Van Gorkom Date: Fri, 25 Jul 2025 21:32:52 +0200 Subject: [PATCH] luci-base: allow submitting new value in android chromium Update ui.js to allow submitting from dropdown on android chromium. Signed-off-by: Ramon Van Gorkom (cherry picked from commit 5cb2eb619e16e8de247c193ab7d320743491107e) --- modules/luci-base/htdocs/luci-static/resources/ui.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/luci-base/htdocs/luci-static/resources/ui.js b/modules/luci-base/htdocs/luci-static/resources/ui.js index 08190f361b..7e5bf8a4a2 100644 --- a/modules/luci-base/htdocs/luci-static/resources/ui.js +++ b/modules/luci-base/htdocs/luci-static/resources/ui.js @@ -1090,7 +1090,8 @@ const UIDropdown = UIElement.extend(/** @lends LuCI.ui.Dropdown.prototype */ { 'class': 'create-item-input', 'readonly': this.options.readonly ? '' : null, 'maxlength': this.options.maxlength, - 'placeholder': this.options.custom_placeholder ?? this.options.placeholder + 'placeholder': this.options.custom_placeholder ?? this.options.placeholder, + 'inputmode': 'text', }); if (this.options.datatype || this.options.validate) -- 2.30.2