From: Ramon Van Gorkom Date: Fri, 25 Jul 2025 19:32:52 +0000 (+0200) Subject: luci-base: allow submitting new value in android chromium X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=5cb2eb619e16e8de247c193ab7d320743491107e;p=project%2Fluci.git 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 --- diff --git a/modules/luci-base/htdocs/luci-static/resources/ui.js b/modules/luci-base/htdocs/luci-static/resources/ui.js index d78fd39f7b..1c287aeeb8 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)